// Micah Walter // Core Practicum Fall 2008 // Assignment 01 // globals float numFrames = 1200; float cnt = 0; int num = 160; float x[],y[],x2[],y2[],r[]; float offs = 0; float D = 0.02f; // basic setup void setup () { size(1280,720); // create a 500x400 window smooth(); // initialize some things -- the new operator creates a new object x = new float[num]; y = new float[num]; x2 = new float[num]; y2 = new float[num]; r = new float[num]; // set the style for our elipse ellipseMode(CENTER_RADIUS); } // Sets the background gray value based on // the distance of the mouse from the center void draw() { background(0); // create the background color translate(width/2,height/2); // set offset noStroke(); cnt+=1.5f; // increment the cnt rotate(radians(cnt)); // convert cnt to radians and rotates next object drawn for(int i=0; i