Think with portals in this 2D physics simulator with placeable portals and a bouncing ball.
I was inspired to make this by the game Portal, and also because we made a bouncing ball project in a Processing class I was taking. I was playing with the bouncing ball, flinging it around and such, when I thought to myself, “It’d be really cool if I could toss this ball through some portals.” Then I thought, maybe I could try doing that. After a few restless nights, here’s the final result.
Try it out here.