int nsprings = 4; MySpring [] s = new MySpring[nsprings]; void setup() { size(200, 200); for(int i=0; i