I've finally got round to making some of my code respectable enough for publication!
Its a simulation of a system of particles connected with spring-damper connectors - the type of thing seen 'Bridge Builder' and 'Tower of Goo!'. Its not the most optimised code (it was written for readability rather than speed), but I've released it under the GPLv3, so feel free to take a look/modify.
The code and a description of the mathematics can be found at:
http://www.neuronlight.co.uk/springdamper.php
Its a simulation of a system of particles connected with spring-damper connectors - the type of thing seen 'Bridge Builder' and 'Tower of Goo!'. Its not the most optimised code (it was written for readability rather than speed), but I've released it under the GPLv3, so feel free to take a look/modify.
The code and a description of the mathematics can be found at:
http://www.neuronlight.co.uk/springdamper.php