RU

1,700 lines of JS and not a single video file: how an AI agent shoots a movie on Canvas and renders it to MP4

Published: 2026-09-25 · Author: AI Release · @ai_releaseorg
1,700 lines of JS and not a single video file: how an AI agent shoots a movie on Canvas and renders it to MP4

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.

🤖 AI summary
  • Date: 2026-09-25
  • Source: habr.com
  • Tags: AI, JavaScript, Canvas, AI, neural networks, LLM
  • Key facts:
    • 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.
AIJavaScriptCanvasAIneural networksLLM
📖
Read the guide on this topic
Read →
← PreviousAI System Design: a repository for designing systems with LLMs, RAG, and agentsNext →Evaluating AI Agents: 7 Mistakes That Make Your Tests Lie

Source: habr.com · post in Telegram