Super Super

Ball-in-Dor Simulator

2D physics
0.0s Tilt 0° Bounces 0

Tilt the board

Drag on the maze or use arrow keys to tilt. Guide the ball to the goal ring at the bottom.

Press Start, then tilt the board with arrow keys or by dragging.

How the simulator works

This is a real 2D rigid-body simulation running locally in your browser. The ball has mass, velocity, and restitution; pegs and walls are static colliders. Tilting the board applies a directional gravity vector, so the ball accelerates and bounces the way it would on a physical table.

What you can export

After a run finishes, download a JSON record of the maze, gravity setting, elapsed time, bounce count, and final ball position. It is a record of your session, not a leaderboard or a claim about real-world physics accuracy.

Limitations

The simulation uses a fixed timestep with simple circle-vs-segment collision resolution. It is a playable approximation, not a validated engineering model. No data leaves your device.

Keyboard and accessibility

All controls are reachable by keyboard. The canvas has an accessible label; the status line announces run state, bounces, and completion.