Build an Interactive 3D Car Engine Explainer with One Prompt
One detailed prompt makes a 3D engine lesson that you can click and a video that explains it.
How to use
- Copy the prompt.
- Change the machine if you want a different topic.
- Paste it into Claude or another strong AI model.
- Open the page, test the controls, then run the video script.
Build a single-page interactive 3D explainer called "How a car engine turns fuel into motion" with three.js (vanilla JS, no framework, no build step).
The engine: a cutaway inline-4, four-stroke petrol engine with crankshaft, connecting rods, pistons, two camshafts, valves with springs, spark plugs, timing belt, intake manifold with throttle, exhaust manifold, flywheel, and a dashed see-through casing. One crank angle drives everything with real slider-crank motion, firing order 1-3-4-2, cams at half crank speed, and valves opening on their lobes. Show the gas in each cylinder coloured by stroke (blue intake, ochre compression, red power, grey exhaust), a spark flash just before top dead centre, flow particles, and exhaust pipes that glow red as they heat up.
The look: a white engineering drawing sheet. Pale grid paper, an ink border with zone numbers and letters, and a title block. The 3D parts are light grey toon-shaded with dark ink outlines. Use Instrument Serif for headings, with an italic red "car engine", Geist for body text and Geist Mono for labels and numbers. Use open sections with a heavy top rule, not cards.
Layout: the engine in the centre with numbered drafting-balloon labels on both sides.
Left: the followed cylinder's current stroke (big number, name, nickname "suck / squeeze / bang / blow", a short explanation, clickable stroke list) and live readouts (crank angle, valves, spark, pressure).
Right: a tachometer, an accelerator slider that changes rpm with inertia, slow-motion buttons (1/200, 1/60, 1/12), a pressure-volume loop, and back / play / next buttons.
Bottom: a firing chart of the four cylinders across 720 degrees that you can drag to scrub, and click a row to follow that cylinder.
Top bar: toggles for Casing, Gas flow, Labels and Orbit. Drag to orbit the camera.
It must work on desktop and phone.
Bonus: a script that records a silent 60 fps 1080p walkthrough video of the page with a visible cursor clicking through the controls. Then add an engine sound generated in code from the recorded rpm, so the pitch follows the tachometer. Read more
Summary
The creator @exploraX_ on X wrote one detailed prompt for Claude Opus 5.5. The prompt asks for one web page with three.js. The page shows a cut-open petrol engine with four cylinders. Colours show the four strokes: blue for intake, ochre for compression, red for power and grey for exhaust. The page has a speed gauge, an accelerator slider, slow-motion buttons and a firing chart that you can drag.
The prompt also tells the AI the look: a white engineering drawing with grid paper and ink outlines. At the end, it asks for a script that records a 60 fps video of the page. The script adds an engine sound made in code. So you get an interactive lesson and an explainer video from the same prompt.
For Cambodia
Teachers, tutors and explainer channels in Cambodia can use this prompt for many machines. Students can turn and slow down the engine and see each stroke. The same page also gives a ready video for TikTok or Facebook, without After Effects.
Notes
Note
Post by @exploraX_ (name m0h on X), 24 Nov 2026, read via the X API on 2026-11-25. The prompt is quoted verbatim from the creator's own reply (https://x.com/exploraX_/status/2125211517519872430). The post says the creator used Claude Opus 5.5. The site already has a use case about machine explainers from a different creator; this one adds a full engine prompt and a recording script. The hero clip is from the creator's own video. Title, summary and why are in our words.
Source
Open the original source.
https://x.com/exploraX_/status/2125210946209558620 (opens in a new tab)
The first category on a case is its primary purpose. Any later category is a secondary tag.