Chaos Engine DSChaos Engine DSChaos Engine DS
TypeScript

Chaos Engine DS

/** * @description * An automated factory of vertical short videos: physics map fills, painting reveals, marble battles and ASMR chimes, rendered in TypeScript. * * @year 2026 * @tech TypeScript | Node.js | skia-canvas | matter-js | FFmpeg | Playwright | polygon-clipping */

Chaos Engine DS is a set of TypeScript programs that make vertical short videos (1080x1920, 60 fps) for YouTube Shorts, TikTok, Instagram Reels and Facebook Reels. One command renders one ready-to-post MP4: a seeded simulation runs, a skia-canvas renderer draws every frame, the music and sound effects are generated in code, and FFmpeg encodes the result. In the main format, balls paint the border of a shape or a country map until it reaches 100 percent, and each country takes its flag colours. A flag reveal lights up every flag of a continent in turn. Other formats reveal a public-domain painting behind a card, play a classical melody as a ball falls through chime paddles, and run marble battles on matter-js physics with modes such as classic, infection, teams, haunted manor and a World Cup playoff. Engagement hooks include guess-the-country and guess-the-painting questions, a pick-your-side screen, seamless loops and call-to-action overlays inside the platform safe zones. A Playwright publisher uploads and schedules the videos on YouTube and TikTok from one queue. A web control panel runs batch render jobs. The same generators also make long 16:9 YouTube videos: a country quiz, a map tour and a one-hour sleep video.