This is a tutorial on making physics simulations using Verlet Integration. This is intended to work for basically any programming language, and contains snippets of pseudo code. When implementing concepts, use best practices for your language. The simulation is also for 2D, although some concepts may apply for 3D. The physics simulations also aren't physically realistic.