LATENT WIRE

The one prompt behind the GPS film

“Where = When” was made by Claude Code from this single prompt. It picked the topic, researched and cited every claim, wrote the script, generated and checked the voice, built every 3D shot in code, composed the music and reviewed its own work. It ran on its own for about 2 hours 40 minutes.

1The prompt

Paste it into Claude Code in an empty folder. It's long on purpose: most of it sets the quality bar.

You are a creative director, science communicator and senior motion engineer in one. Produce a 3D animated explainer video with a professional voiceover. Aim for the craft, pacing and storytelling of a premium animated documentary, not a typical auto-generated reel. Install anything you need. Work fully autonomously from start to finish and never stop to ask me. If something is blocked, choose the next-best option yourself and record the decision and your reasoning in the README. CREATIVE STANDARD (HIGHEST PRIORITY) The technical phases below are requirements, not a substitute for filmmaking. The viewer should finish thinking: "I never knew that, and what a great way to explain it." - Story first. The viewer should feel they're discovering something, not watching a presentation. - Every shot must explain something. If cutting a shot doesn't weaken the explanation, cut or redesign it. - Let the story set the length, usually 60–180 seconds. Check the current maximum lengths for Shorts and Reels and stay under them. - Visual language: - Derive it from the subject. For example: a CPU as an intricate mechanical cross-section, the internet as a miniature city. - Keep it cohesive across the whole film. - Don't default to clay objects, floating geometry, glowing particles or abstract "tech" imagery. - Use editorial judgment. Hard cuts, match cuts, camera moves, stillness and transitions are all valid when the story motivates them. - A simple, beautifully directed shot beats a complex, sloppy one. Refine weak shots instead of accepting the first render that works. TOOLING RULE - Use only free, open-source tools and models. - No paid APIs, subscriptions, trial accounts or freemium services. - Check the license of both the code and any model weights. Skip anything restricted to non-commercial use, so the video can be posted and monetized freely. - List every tool and its license in the README. PHASE 1: RESEARCH THE TOPIC - Search the web for what's fascinating people right now in AI, technology, science and everyday life. Look for trending questions, viral explainers, recent discoveries, and "I never knew how that works" moments. - Shortlist 5 topics. Score each 1–5 on: - Relatable: viewers touch it daily or care about it personally. - Curiosity gap: the answer is surprising. - Visual potential in 3D. - Factual solidity. - Staying power beyond a single news cycle. - Pick the winner and explain why in 2–3 sentences. Avoid topics that are mostly opinion, politics, health advice or rumor. - Gather facts only from strong sources: papers, official docs, reputable science outlets. Keep a sources.md file and cite every claim you use in the script. PHASE 2: SCRIPT AND STORYBOARD - Write the voiceover at about 150 words per minute. - Structure: - A hook in the first 3 seconds: a question the viewer already half-wonders about. - Beats that each reveal one idea through one visual metaphor. - A payoff that reframes the opening. - A short, memorable closing line. - Use story devices: - An open question that isn't answered until late in the film. - Shifts of scale, e.g. from an everyday object down to atoms or out to the whole planet. - Before/after contrasts. - Surprising numbers made tangible. - Use plain spoken language and short sentences. Any jargon gets an instant visual explanation. It must sound like a great narrator, not an article. - Storyboard table columns: beat, VO line, visual, camera/edit, approximate duration. - Fact-check the final script against sources.md. Cut anything you can't source. PHASE 3: VOICEOVER (LOCAL, OPEN-SOURCE TTS) - Choose the model: - Research the best current open-source neural TTS model. Candidates include Kokoro (Apache-2.0) and Chatterbox (MIT). - Verify that the exact version, its weights and any bundled voice files allow commercial use. - Never clone a real person's voice. - Install the model and run it locally. - Never use a robotic engine such as espeak or browser speechSynthesis as the voice. A phonemizer used internally by the model is fine. - Pick a voice that fits the topic: warm, confident, curious. - Generate the voice line by line so pacing can be tuned. Add natural pauses at beat changes. - Pronunciation: - Build a lexicon of phonetic respellings for names, acronyms and units. - Write all numbers as spoken words. - Verify: transcribe the audio with Whisper or faster-whisper and diff it against the script. Regenerate any line with mispronunciations, dropped words, odd prosody or artifacts. - Get word-level timestamps by forced alignment (e.g. WhisperX). These timestamps drive all animation timing. PHASE 4: VISUAL DEVELOPMENT (BEFORE FULL PRODUCTION) - Style frames: - Render one key moment in 3 different visual directions, at high quality. - Critique each on lighting, materials, composition, readability on a phone, and whether it actually explains the idea. - Pick one direction and refine it. - Animated test: fully finish the hardest 10–15 seconds of the film at final quality, with the real voiceover. - Animatic: block out the whole film at low resolution, synced to the voiceover, to check pacing and flow. - Motion review: - Inspect strips of consecutive frames across every camera move and transition. - Plot camera speed over time to catch jerks, pops and dead holds. - GATE (self-review in place of my approval): before full production, have a fresh sub-agent that hasn't seen your process review the style frames, the test clip's frame strips and the animatic against the Creative Standard. - It must name the weakest shot. - It must judge whether the film reads as a premium documentary or a generic auto-generated reel. - Fix what it finds and repeat, up to 3 rounds, until it passes. - Save all development material in a dev/ folder so I can see how the look evolved. PHASE 5: PRODUCTION - Build in three.js. React Three Fiber is fine too. - Drive everything from one deterministic timeline. Use your own easing functions or an MIT-licensed tween library. - Render frame by frame in headless Chromium via Playwright or Puppeteer, and pipe the frames to ffmpeg. If there's no GPU, use software WebGL (ANGLE/SwiftShader). - Design for vertical 9:16 first: composition, camera framing and caption placement. - Look: - PBR materials with an environment map and ACESFilmic tone mapping. - Deliberate lighting with a clear focal point in every shot, and real depth. - Restrained post-processing (bloom, grain, vignette, depth of field), used only where it serves the shot. - Assets: - Procedural or CC0 only. - Fonts under the SIL Open Font License. - No logos or copyrighted characters. - Motion: - Easing, anticipation and follow-through on everything. - Physically believable weight. - Camera moves motivated by what the viewer needs to see. - Sync: key visual events land on the exact words that describe them. - Captions: - On by default, since many viewers start with the sound off. - Styled to match the visual language. - Phrase-level by default, with kinetic type reserved for key words. - Text-free moments are fine where the visuals carry the meaning. - Never cover the key action. - Also export an .srt file. PHASE 6: SOUND AND RENDER - Music bed: compose and synthesize it yourself in code, or use CC0 tracks only. - SFX: synthesized or CC0 only. - Duck the music under the voice. - Master with ffmpeg: about −14 LUFS integrated loudness, true peak below −1 dBTP. - Main deliverable: 1080×1920 vertical MP4 (H.264, yuv420p, AAC audio) at 30fps. Use 60fps only if the motion clearly benefits and render time allows. - Optional: a 1920×1080 landscape cut, properly reframed rather than just cropped. PHASE 7: QUALITY CONTROL - Review the final film two ways: frame strips for each shot, plus a contact sheet of the whole film. Fix: - dead or cluttered frames - z-fighting, aliasing, pops and jitter - captions covering the action - drift from the chosen visual style - Transcribe the final mixed video to confirm clean audio and correct sync. - Have a fresh sub-agent that hasn't seen your process review the final frames, script and sources. Fix what it finds. - Final test: would a curious viewer stop scrolling in the first 3 seconds and come away understanding something new? DELIVERABLES - The final MP4(s), the .srt, script.md and sources.md. - The dev/ folder of development material. - The project folder, with a README that covers: - how to re-render - every tool and model used, with its license - every decision you made on your own, with your reasoning - A short summary: the topic you chose and why, and 3 things you'd improve with more time. AVOID: paid or freemium services, robotic voices, filler shots, walls of text, generic tech visuals, hype or exaggerated claims, and effects that don't serve the explanation.

2What it ended up using

Claude chose these itself. Apart from Claude Code, all of them are free and open source.