Fractal Physics

24/08/2020


Use the arrow keys to move the ball, and Z and D to change the size of the ball (below a certain size, collisions may be imprecise). On mobile, change the orientation of your phone to control the ball.

This project is a reproduction of the main mechanic of the game Marble Marcher but in 2D.

The fractal is rendered in a WebGL fragment shader, and the physics are computed in javascript.