3D & Generative · Nov 24, 2026
This is what engineering class should look like. 🔥
This is what engineering class… by m0h, credited to Claude Opus 5.5. Watch the 3D & Generative video, explore the shared prompt and visit the original X post.
m0h@exploraX_
View on XThis is what engineering class should look like. 🔥 i built this interactive 3D explainer of how a car engine works using Claude Opus 5.5. just a simple prompt, and i’ve shared the prompt below. if this post gets enough engagement, i’ll open-source a skill for building 3D projects like this.
The prompt behind it.
Original prompt
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.
Video and prompt by m0h. Original post ↗ · Prompt source ↗ · Prompt archive ↗


