I have always had an interest in how game development works. This was my attempt to understand some of the underlying physics implementation of a 2D game engine with collisions. Pretty simple simulation, but was fascinating to build.
See the Simulation: https://jkonowitch.github.io/canvas-physics/
Source: https://github.com/jkonowitch/canvas-physics/blob/master/src/canvas/core.cljs