Chord
Code
The following examples are used to create a smooth elastic spring used for the interactive installation “Resortes”. The Basic idea, two particles are connected by some sort of line extension, the force of the spring is directly proportional to the extension of the spring, in others works depending on the force applied a big force the spring will pull a lot, the same way if you apply a small force.
Once having a simple two or three point spring, this easily scaleable to many more points. Base on this idea we can create a elastic chord from adding more points. After this we connect all the points with a line, and apply a Spline line interpolation to make it more smoothly and appear more like a elastic chord.
We also apply a harmonic movement to each point.
Video of the Generative Chords
Generative Chords from thomas sanchez lengeling on Vimeo.