Home▸Physics & Mechanics▸Ball in Labyrinth: Top-View Tilting Maze with Rolling-Ball Physics

🧪 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).

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Ball in Labyrinth: Top-View Tilting Maze with Rolling-Ball Physics ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)