Entropy Impulse-based 2D physic engine. Sources How to Create a Custom Physics Engine by Randy Paul Use Quadtrees to Detect Likely Collisions in 2D Space by Steven Lambert