MechSim is a free, zero-install planar linkage simulator. Drop pins, connect links, and watch your mechanism move — powered by a Newton-Raphson constraint solver.
Click Crank-Slider or Four-Bar in the sidebar to load a working mechanism instantly.
Hit ▶ Play or press Space. The simulator takes a snapshot and animates continuously.
Press ↺ Reset to return to the initial snapshot and re-enable all editing tools.
The vertical toolbar on the left of the canvas holds all building tools. Click or press the keyboard shortcut.
Every tool has a key. Tools are disabled while Running or Paused — press Reset first.
The fundamental mechanisms of planar kinematics, all assemblable from pins and links.
Crank, coupler, rocker, ground. Grashof's law governs whether it's a crank-rocker, double-crank, or double-rocker. Foundation of engines, wipers, walking machines.
Converts rotation to reciprocating linear motion. The foundation of piston engines and pumps. Built with a grounded crank, coupler, and a fixed-axis slider pin.
A four-bar where the coupler midpoint traces an approximate straight line — useful for converting rotation to translation without a prismatic joint.
Three slider types: straight rail, circular arc (3-point), and full 360° circle. Each slider pin can be passive (coupler-driven) or active (motor speed).
The four-bar is the simplest closed kinematic chain. Three links plus the ground.
Every link contributes a scalar equation f(q)=0. MechSim assembles the Jacobian and iterates:
The tol and iter inputs in the header control convergence. Lower tol = more precise. Higher iter = handles complex configurations.
.mechsim.json file. Click 📂 Open to reload it. No account needed — fully portable..csv — timestamps start at zero for easy analysis.Free, browser-based, no installation. Works in Chrome, Edge, Firefox and Safari.
▶ Launch Simulator