• TOC
  • GigaMess
  • CodeTips
  • Stuff
  • Links
  • Contact

Simple spring library for Java

Click here to download the library with full source and an example applet. Sorry, no html documentation yet..

Update:
2nd October: I added damping (no more endless vibration), a new primitive (circle) and a little more sophisticated collisions.

Here's an example applet using the spring library (source). Hold your mouse button down and drag it to move the closest node around a bit. Also, try pressing 1 and 2 from keyboard, to see the internals of the objects.

*HOT* If you have a good processor (over 1 GHz), try out this page. It has a whole terrain made with springs.