Mechanism Lab

Interactive mechanisms, one at a time. Each one moves exactly as the engineering formulas say, and you can change it with sliders. They match our short videos.

Gears, linkages and machines

Four-bar linkageCrank-rockers, coupler curves and Grashof’s rule, with links you can print.Printable clock kitThe gears behind a clock’s hands as a kit: every part as STL, SVG or DXF.Gear generatorMake a matching pair of real involute gears: download SVG or DXF, or print a 1:1 template.Bike gear calculatorChainring, cog and wheel: gear inches, distance per pedal turn and speed at any cadence.Anchor escapementHow a clock ticks: one tooth through per pendulum swing pair.Geneva driveSteady turning in, stop-start steps out: one slot per crank turn.Cam and followerDesign a rise, dwell and fall; the cam shape follows.Worm driveBig reductions from a screw: ratio, lead angle and self-locking.Rack and pinionA gear unrolled into a line: travel per turn and rack speed.Idler gearSame ratio, opposite direction, however many teeth the idler has.Block and tackleMore rope, less pull: mechanical advantage with and without friction.Pendulum periodThe exact period at any swing, against the small-angle formula.Kepler orbitEqual areas in equal times: a planet racing near the Sun.Double pendulumThree pendulums a thousandth of a degree apart: watch chaos pull them apart.3D print cost calculatorFilament, electricity, wear and failed prints: what each good print costs.Pulley RPM calculatorDriven speed, ratio and belt speed from two pulley diameters, or the pulley size for a target rpm.Sprocket ratio calculatorMotorcycle gearing: road speed from sprockets, ratios, rpm and tyre size, and what a tooth changes.Chain length calculatorLinks for a derailleur bike (Park Tool method) or any two-sprocket chain drive.Lead screw calculatorLead, steps per mm for 3D printer and CNC firmware, travel speed and torque.Coil spring rate calculatorSpring rate from wire diameter, coil diameter, active coils and the wire material.Torque to horsepowerTorque and rpm to hp and kW, or back, and why they cross at 5,252 rpm.Belt length calculatorTwo or three pulleys: belt length, contact angles and a to-scale drawing.Go-kart gear ratio calculatorClutch and axle sprockets, engine rpm and tyre size: top speed for every axle sprocket.Speed from gear ratioEngine rpm, gear ratio, final drive and tyre size give road speed in each gear.Gear ratioPick tooth counts and stages; watch speed fall and torque rise.Clock motion workThe hidden gears that turn the hour hand 12× slower than the minute hand.Planetary gearsSun, planets and ring: hold a different part and get a different speed.Engine pistonCrank and connecting rod through the four strokes, and why the piston isn't a sine wave.

Fluids, valves and floats

Valves, floats, pistons and pipes, each with an animated model and the physics behind it in a line or two.

Water pressure at depthp = ρ g h: how hard the water pushes at any depth, and why dams thicken at the base.Will it float?Archimedes' principle: float or sink, and how much sits under the surface.Float valve (ballcock)How a cistern stops filling: buoyancy, a lever and the supply pressure.Check valveOne-way flow: cracking pressure from the spring, preload and seat.Pressure relief valveSet pressure, full lift and the overshoot a spring allows.Hydraulic pressPascal's law: a small push on a small piston lifts a car.Venturi meterBernoulli: water speeds up in a narrowing and its pressure drops.SiphonWhy water climbs over the top, how fast it flows and how high it can go.Tank drain timeTorricelli's law: how long a tank takes to empty through a hole.

Physics and engineering

Textbook physics you can play with: each page simulates the formulas, tests them against an independent calculation, and shows the equations.

Projectile motionRange, height and flight time, with air resistance or without, simulated to scale.Beam deflectionA simply supported beam under a point load: sag, bending moment, stress and reactions.RC circuitTime constant, charging and discharging: watch a capacitor fill through a resistor.Voltage dividerTwo resistors split a voltage: output, current, power, and how a load pulls it down.Moment of inertia (sections)Second moment of area for rectangles, tubes and I-beams: why depth beats width.Spring–mass–damperBounce, settle or creep back: natural frequency, damping ratio and the motion over time.Lens equationWhere a lens forms its image, how big, and which way up, with the rays drawn.Snell’s lawLight bending at a surface, the critical angle and total internal reflection.