ID:1534132
 
To download a project from GitHub, click the "Download ZIP" button in the bottom-right.

Circle Collision (GitHub) - Preview (gif)
Circles of various sizes collide and bounce off of each other pretty realistically. This could possibly be used to make a billiards game, or something. It's pretty decent on the CPU, having 50 circles bouncing around at 60 frames per second with 60% CPU usage.



Polygon Collision (GitHub) - Preview (gif)
Moving polygons won't intersect other polygons.

It uses Koil.Canvas, which draws directly to an icon. It's being a bit flickery though, with black flashes as the client tries to download each frame.

It uses a lot of CPU, and that's without having fancy physics properties such as mass (for forces like pushing) and moment of inertia (for torque, rotational forces).