Source: https://github.com/danielxiaofu/Spring-Mass-System.git
A spring mass system that supports an arbitrary number of particles. The particles can be connected with springs in arbitrary ways and are subject to gravity.
A cube formed by particles connected with springs, when simulation starts the springs stretch the particles to form a pyramid shape.