//--------------------------- making things move //--------------------------- example 07 _ 01 //--------------------------- zachary lieberman / zlieb@parsons.edu /* now springs! */ float r = 0; particleManager PM; //--------------------------------------------------------- void setup(){ size(600,500,P3D); PM = new particleManager(); } //--------------------------------------------------------- void draw(){ //translate(width/2,width/2,-300); background(253,54,194); // r +=0.01f; // rotateZ(r); PM.idle(0.1f); PM.draw(this); } //--------------------------------------------------------- void mouseDragged(){ // PM.PRTS[0].bFixed = true; PM.PRTS[0].pos.setXYZ(mouseX, mouseY,0); }