This simulates balls using only math. It's drawn with pen, but it is possible to remove all drawing blocks and it will still work. (Because it is all math. Did I say that already?)
Literally all me and a bit of googling. There is still no X collision, so I can't use maps with walls that go straight up yet. Balls don't collide with each other. Surprisingly, there aren't that many bugs.