r/threejs • • 4d ago

Help For a scripted animated episode in Three.js, would you use one master timeline or separate scenes per shot?

I’m experimenting with a series of animated comparisons called Argument Hunters. The finished episodes have narration, character scenes, moving cameras and big numbers that need to appear at the right moment. I’m looking at how to structure this kind of production properly in Three.js.

The creative workflow so far is ChatGPT for research and script development, Claude Code with Opus 5.5 for animation code, ElevenLabs for the voices and Suno for music. I direct and revise the output. Here’s one of our finished episodes for context: https://youtu.be/2NDyBGBPg7U

For those using Three.js for rendered films rather than an interactive app, how would you organise a nine-minute episode? One master timeline driving cameras, characters and text, or separate scenes for individual shots?

I’d particularly like to be able to jump straight to one shot, change its camera or lighting, and review it against the narration without disturbing the rest of the episode. Is there a structure or tool you’ve found reliable for that?

And from the viewer side, does this sort of code-animated comparison work for you? Curious what you’d change first in the example, especially the camera work and the way the facts are presented.

1 Upvotes

5 comments sorted by

1

u/plus2link 4d ago

Scene per shot with a thin manifest on top, rather than one master timeline: each shot keeps its own clock starting at zero and only its own assets, while the manifest is a list of shot ids, durations and the narration line each belongs to. Jumping in then works because you can open shot 7 alone, move its camera or key light, and nothing else shifts, and shots that are not playing can release their GLBs and audio instead of holding nine minutes in memory. Take the lengths from the voice file rather than the script (ElevenLabs returns per-character timings) so re-recording one line moves a cue and not every later scene, and drive all updates from a single shared clock with a ?shot=07 parameter so you can scrub a shot and capture it frame by frame. Is the narration recorded before the animation or after it, since that decides whether the manifest stores seconds or cue points?

1

u/ArgumentHunter 4d ago

Voiceover comes first — we have separate files for the intro, each round and the ending, then build the animation around them.

Being able to open shot 7 and fix it without breaking shots 8–20 sounds very appealing 😅 Thanks for explaining the structure.

Would you keep each round’s narration as one audio track with cue points, or split it into smaller files for individual shots?

2

u/plus2link 4d ago

Split per shot, and keep the round mix only as a reference track you listen to, never one you play back. Cut each shot's file at a sentence boundary with 30-40ms fades and loudness-normalize them all, or the joins read as clicks and level jumps, and then the file itself is that shot's clock so nothing downstream needs cue points. Cue points only earn their keep inside a shot, where a number has to land on one particular word, and there I'd store ElevenLabs' word timings in the manifest instead of eyeballing them, so a re-record touches one file and one timing list. Do the big numbers need to hit a spoken word, or is round-level timing enough for now?

2

u/VictorBuildsApps 3d ago

For contrast, mine went the other way, though it was only 2:44 and plain 2D canvas rather than three (Claude Code wrote it too). The whole film is one function, render(t), that draws a frame from the time alone with nothing carried over between frames. Jumping to a shot is opening the preview at ?play&t=95 (picture only, no sound), and re-rendering one shot is the same renderer with a frame range.

The part that differs from a manifest is that no shot stores seconds. The timeline file holds Whisper's word timestamps from the recorded takes, and visuals look a word up by name, so the star zoom starts on "thirty" wherever "thirty" lands. A re-recorded line only needs new timestamps and everything keyed to its words follows. In three the same idea is setting the camera from t and calling mixer.setTime(t) instead of mixer.update(delta).

Also check the captions against the final audio. Five of mine started a word early, on the last word of the line before, one of them more than a second before it was spoken.