This is a 2D physics engine initially written during the summer following my freshman year, and was later adapted for use in BioSteam. The engine was initially inspired by the gravity system in Prey, each side of the center square exerts a gravitational pull along the edge and the corners exert a circular inward force to help navigate around the sides. In addition to the gravitational features of the engine, I had implemented primitive stacking support and force propogation through multiple objects in contact. Each square has a mass that isn't necissarily proportional to its size (although for the demo program larger objects have a larger mass).