GPT-6 Astra renders a Big Bang-to-AI video entirely in p5.js code, frame by frame in 4K

dx8xb · reddit · 2026-09-25

A Reddit user prompted GPT-6 Astra to make a video about "time", and the model generated it entirely as code: p5.js with the p5.brush library for a painted look, with every frame rendered in 4K from JavaScript.

The narrative runs from the Big Bang through early cells, dinosaurs, fire, farming, industry and cities, ending on Astra writing the very code for the video before collapsing back to a single dot.

Because everything is code, layers, keyframes and splines stay fully editable, raising the question of whether code-first generation can beat diffusion for video you actually want to edit.

Related event: GPT-6 Astra Renders a 4K Video on 'Time' Frame by Frame in Code(3 posts)→

Original post →

More from Fun

Fun channel →