← All videosTHE SHORT VERSION
Explore NexusTrade ↗

claude code / ai engineering / javascript / video production

Can Claude Make Videos? I Had It Draw This One in JavaScript

I saw a TikTok about making videos with JavaScript, dropped it into Claude, and told it to update my skills and make this one. Every frame is code: one function takes a moment in time and draws one picture, a headless browser renders every frame, Claude checks the frames for mistakes, and ffmpeg stitches them into the video.

Transcript

0:00Every single frame of this video is JavaScript.

0:02I didn't draw any of it, and I never opened After Effects.

0:05Claude Code wrote it.

0:07It writes one function where you give it a timestamp, and it draws whatever's supposed to be on screen at that exact moment.

0:13Ask for that twenty four times a second and you've got a video.

0:17The catch is that Claude can't actually watch a video.

0:20So it renders every frame in a browser, flips through them like a stack of screenshots, and fixes whatever's broken.

0:27If a label is hanging off the edge of the page, it catches it and redraws it.

0:30Then ffmpeg glues all the frames together and you get this.

0:36I saw this on someone else's TikTok today, dropped it into Claude, and told it to update my skills and make this video.

0:42Tell me what I should make it draw next.

Join the conversation

Loading conversation…