1,700 lines of JavaScript — and not a single video file. An AI agent wrote an HTML script that draws fire, an engraving, a 3D sphere, and a pixel game all by itself. The one-minute film contains no images or samples at all. The code synthesizes both the visuals and the music, then renders everything to MP4. This isn't generating a video from a prompt — it's generating a program that makes the video. This approach changes the logic of animation creation: instead of editing, it's pure code. You can test it yourself by asking any agent to write a similar Canvas script.
Source: habr.com · post in Telegram