A one-minute film without a single video file
· Source: original
An AI agent made a one-minute film in a single HTML file with 1,700 lines of JS
A one-minute video with no video files, no images, and no samples. The entire film is a single HTML file: 1,700 lines of JavaScript, and they were written by an AI agent, not a human. 🎬
Inside, fire, an engraving, a 3D sphere, a pixel game, and music are synthesized. The scenes are drawn on Canvas using the "frame as a pure function draw(ctx, t)" pattern — each frame is computed from time t. The output is an MP4 render, and without a single stutter. 🎨
The agent checks the film itself by timecodes.
Counterexample: without defined rules, the same agent produces a dull linear intro — blue background, neon, everything crawls along linearly. With the rules — fire, an engraving, a 3D sphere, a pixel game, and music in a single one-minute video.
The video's code and implementation details — https://habr.com/ru/articles/1086766/
🎬 Work with video and multimedia?
Prompts for video and multimedia scenarios — right on topic:
- 6-Panel Storyboard Mastery
- Casual Code Explanation Video Script
- Ultimate Seedance 2.0 Prompt Engineering
🔗 The entire prompt library · "Video" category
A ready-made product on the topic: Short video pipeline on n8n: voiceover, editing, subtitles, and publishing to TikTok, Reels, and Shorts — grab it and apply it right away.