
I took a Royal Enfield 350 apart in the browser
In short: A 3D Royal Enfield 350 engine explainer where every motion comes from the slider-crank maths and every guessed number is flagged.
Every Royal Enfield owner has been asked the same question at a signal: why does it sound like that? The honest answer is a long-stroke single, a heavy flywheel and a firing gap of 720 degrees. That answer only lands when you can see it. So in November 2026 I built a page where you can.
RE 350 Explorer is the J-series 350 engine taken apart in your browser. There are 24 parts on screen. Click one and the camera flies to it while the rest of the engine fades back. The panel then tells you what the part does, why it is shaped that way, what it is made of and what you would see if it failed. You can pull the engine apart along its assembly axes, slice it open with a section plane, drag the bore and stroke, and break it on purpose.

Nothing in it is keyframed
This was the rule I cared about most, and it is why the page feels honest instead of decorative. No part follows a recorded animation. Each frame, one clock advances the crank angle, and everything else is derived from it:
- the piston and connecting rod come from the slider-crank equation, x = r·cos θ + √(l² − r²·sin² θ);
- the camshaft turns at half crank speed, and valve lift follows a smooth profile inside each opening window;
- the cam lobes are extruded from the same valve-timing numbers, so the shape you see is the timing you get;
- the balancer counter-rotates against the crank, and the "shake" readout is what's left of the primary force plus the secondary force;
- the gearbox, primary drive and sprocket turn by their ratios.
The consequence is that the sliders on the Tune page are real. Drag the stroke from 85.8 to 100 mm and the piston travels further, the readouts change, and the displacement climbs past 400 cc. Set the balance factor to zero and the whole engine visibly shakes. Snap the cam chain and the valves freeze while the piston keeps rising. That is valve strike, and the app tells you so.
The numbers, and which ones I had to guess
Before trusting any of the maths I pinned it to hand-checked values in unit tests: 17 for the kinematics, 6 more for content integrity. These are the figures the app computes at the published peak-power speed:
| At 6,100 rpm (peak power) | Value | How it is derived | Confidence |
|---|---|---|---|
| Displacement | 349.3 cc | π/4 × 72² × 85.8 mm | Matches RE's 349.34 cc |
| Mean piston speed | 17.4 m/s | 2 × 0.0858 m × 6100 / 60 | Published inputs |
| Peak piston acceleration | ≈ 22,900 m/s² (≈ 2,330 g) | r·ω²·(1 + r/l) | Depends on rod length, which is estimated at 140 mm |
| Combustion chamber volume | 41.1 cc | swept volume / (9.5 − 1) | Published 9.5:1 ratio |
| Firing interval | 720° | one power stroke every two crank turns | Basic four-stroke fact |
That last row is the thump. One cylinder fires once every two revolutions, so at idle you hear the individual beats instead of a blur. The long 85.8 mm stroke and the heavy flywheel make each beat land with weight.
The third row is where honesty matters. Royal Enfield doesn't publish the connecting-rod length, valve timing, valve lift or gear ratios. I needed all of them to make anything move, so I estimated them. There are ten such numbers, and every one carries a warning flag on the Facts page with the source or the reason it's a guess. An explainer that hides its guesses teaches confidence, not engineering. I would rather show the seams.
How it was built, including the bugs
I built it in one Claude Code session using a skill called Wonder Builder. The skill splits the work into a fixed shell and a content file. The shell holds the routing, the 3D stage, the command palette, the language switch and the presenter mode. The content file is a single JSON spec with 29 parts, five mechanisms, three tours, three engine generations and the history. A full Hindi overlay sits on top of it. The engine geometry is all code: lathed pistons, extruded cam lobes, an instanced cam chain. No 3D model was downloaded.
The interesting part was what broke:
The camshaft code wrote its rotation through ref.parent, which also overwrote the part's height. In the exploded view, the camshaft refused to move. The fix was a separate holder object, so the motion and the explode offset stop fighting.
The cam chain jumped once per cycle. The crank angle wraps at 720°, and the chain links were positioned from that wrapped angle, so every second revolution they snapped back. The fix was to accumulate the crank's travel each frame instead of reading the wrapped value.
The rocker arms tilted the wrong way. A sign error made them dip when the valve opened. Nobody would spot that in a still screenshot, but anyone who has had a tappet cover off would spot it in motion.
My takeaway from those three is that a computed animation fails loudly and locally, which is good. A keyframed one would have hidden all three.
Made for sharing
Two features exist purely because explainers live on social feeds. Presenter mode hides the interface, runs a guided tour with large captions, and shows 16:9 and 9:16 framing guides, so you can screen-record a reel in one take. "Copy link" packs the camera position, the selected part, the explode amount and every tuning slider into the URL, so you can send someone the exact view you are looking at.
The 60-second video above was cut from the live site itself. A script drove Chrome through the real pages, recorded the screen at 60 fps, and Hyperframes assembled it with the narration and music.
Try this
Open the Tune page, set the balance factor to zero and watch the shake readout. Then put it back to 100% and notice what doesn't go away. That leftover is the secondary force at twice crank speed, which a single balancer shaft can't cancel. It explains why big singles still tingle at the bars.
If the motion comes from the maths, the explainer can't lie to you, and the guesses it has to make should be labelled in plain sight.


