//Problem Set 4 Question 2 (Remix) //Dean Park float centerX = 0, centerY = 0; float radius = 45, rotAngle = -100; float accelX, accelY; float springing = .009, damping = .98; //corner nodes int nodes = 110; float nodeStartX[] = new float[nodes]; float nodeStartY[] = new float[nodes]; float[]nodeX = new float[nodes]; float[]nodeY = new float[nodes]; float[]angle = new float[nodes]; float[]frequency = new float[nodes]; // soft-body dynamics float organicConstant = 7; void setup() { size(640, 360); //center shape in window centerX = width/6; centerY = height/6; // iniitalize frequencies for corner nodes for (int i=0; i