🧪 Ball in Labyrinth: Top-View Tilting Maze with Rolling-Ball Physics
A steel ball rolls through a perfect maze on a tilting board, seen from above: set the maze size, gravity, wall bounciness and rolling resistance, let the PD autopilot follow the shortest path or tilt the board yourself, and see why a rolling ball accelerates at only five sevenths of g sin(theta).
⚙ Under the hood
A steel ball rolls through a perfect maze on a tilting board, seen from above: set the maze size, gravity, wall bounciness and rolling resistance, let the PD autopilot follow the shortest path or tilt the board yourself, and see why a rolling ball accelerates at only five sevenths of g sin(theta).
Labyrinth PhysicsMomentum TransferCollision Detectionrolling without slippingmoment of inertiaPD controllerbreadth-first searchmaze generationrestitution
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install