




0:00 / 1:38
Mechanica, in 98 seconds. Choose a chapter to look at it first, or play the video from the start.
Interactive simulation
Mechanica
Seven engines you can take apart, piece by piece, in the browser.
Read about itThe product
A machine you can take apart and put back
Engine diagrams flatten a machine into one view, and a physical cutaway shows one slice. Neither lets you ask the question that teaches how an engine works: what is this part, what does it touch, and what happens if I pull it out? Mechanica is built to answer that question.
One slider, every state
The centre of the product is one separation slider. It runs from a complete assembly to every independent piece laid out in inventory, and it is continuous and reversible. Stop anywhere and the engine is a real intermediate state that can be orbited, picked and isolated. It is not a recorded animation.
- The first stretch. The assembly loosens along its axis. Pieces keep their orientation, so the engine still reads as an engine.
- Past the midpoint. Every piece travels to a slot of its own, on an inventory shelf or in a radial spread.
- Back to zero. Every piece returns to the exact pose it was captured in, even if the mechanism was turning when the separation began.
Four ways to look inside
- Inspect. Pick a component group from the list, or click it in the scene, to read what it does, what it touches and what it is made of.
- Cut it open. A section plane with a depth slider, presets for top, side, front and longitudinal cuts, and rotation through any angle. The mechanism can play while it is sliced.
- Follow the air. On the turbine engines a streakline overlay shows the bypass, the core, the combustion and the exhaust.
- Isolate. Single out one piece of nearly two thousand, hide whole groups, and fit the camera to what is left.
A guided walkthrough steps through the path of the working fluid or the combustion cycle, with a short explanation at each step and the components involved highlighted.
Seven engines, three families
Each engine is an original parametric model, with the mechanism that defines its kind.
| Engine | Family | The mechanism in the model |
|---|---|---|
| Turbofan | Aircraft turbine | High-bypass and two-spool: concentric shafts link the turbines to the fan and the compressor. |
| Turbojet | Aircraft turbine | Single-spool axial flow: all the intake air passes through the core to the nozzle. |
| Turboprop | Aircraft turbine | A gas generator and a free power turbine that drives a five-blade propeller through reduction gearing. |
| Turboshaft | Aircraft turbine | A free power turbine with a geared output flange for an external load. |
| V8 | Piston | A 90 degree V with a cross-plane crankshaft, two-valve heads and camshafts at half the crank's speed. |
| Inline-four | Piston | A single bank with double overhead cams: the outer pistons move together, opposite the middle pair. |
| Wankel rotary | Rotary | A three-apex rotor in an epitrochoid housing on an eccentric shaft, which turns three times for each turn of the rotor. |
How it is built
The page owns the state of the interface, and one scene component owns the three.js world. Between them sits a separation controller, which gives every rendered piece a stable identity, a captured home pose and a current pose derived from the slider.
- Geometry is code. Every engine is a parametric builder in TypeScript. No CAD files, no textures, no downloads.
- Separation is a state, not a clip. A piece's pose comes from its home and the slider's value, so the same value gives the same pose in either direction.
- Pieces keep their identity. Repeated hardware is instanced for speed, yet every bolt, blade and ring can be picked, hidden and counted.
- Mechanisms stay honest. Piston rods keep their length through the whole cycle, and the rotary's shaft turns three times for each turn of its rotor.
Checked by numbers
A check compiles the real builders and drives the real separation controller for all seven engines, on every push.
- Same value, same pose. Scrubbing forward and backward through seven positions of the slider gives identical poses, and the handoff at the midpoint is continuous.
- Nothing overlaps. 42 inventory layouts, across three aspect ratios and with groups hidden, leave no two pieces' bounding boxes touching.
- It always comes home. Separating and reassembling five times from a running mechanism returns every piece to its home pose.
- The mechanisms are right. Piston rods hold their length through the crank's cycle, and the rotary's apexes trace the housing at the 3:1 ratio.
What it is not
These are educational reference models of generic architectures, not replicas of any manufacturer's engine. Stage counts, proportions and surface details are illustrative. Playback is slowed for inspection, and the airflow overlay is schematic, not the result of a flow simulation.