colorsprings _particle field

a modification of particle field template that incorporates the new colorSpring class which draws springs in different colors relative to each spring's state of tension or compression.

Note: press keys 1 thru 4 to view with different background values

Source code
Built with Processing