What this is

A 2D physics sandbox in pure JS — no Box2D, no Matter.js, no external library. Custom rigid body engine with SAT (Separating Axis Theorem) for polygon collision, analytical circle/polygon and circle/ circle, impulse-based response with friction + restitution, position- based dynamics for stable stacks. 6 solver iterations + 2 substeps/ frame + Baumgarte stabilization. Hand-drawn sketch aesthetic with paper texture background. Drag-and-drop palette: circles, rectangles, ramps, beams, hinges, ropes, dominoes, bumpers, fans, pegs. Edit mode to draw walls and place shapes; hit BUILD to run the simulation. Two-click hinge or rope lets you connect shapes. 8 puzzle levels: Sandbox, Drop the Ball, Ring the Bell, Domino Cascade, Pendulum Smash, Seesaw Flip, Wind Tunnel, Target Practice.

Why this is mind-blowing

Crayon Physics won the Independent Games Festival in 2008. Box2D is a 50,000-line library. Both are here in 1884 lines from one paragraph. The custom physics engine alone is what would take a junior dev a semester to write.