int MAX = 100; ArrayList nlist = new ArrayList(); int choice=1; PFont font; void setup() { size(800,600); background(0); smooth(); for (int i = 0; i < MAX; i++) { nlist.add(new Node( random(100,width-100),random(100,height-100),10, .01)); } //Create Font font = loadFont("ArialMT-24.vlw"); textFont(font, 12); } void draw() { background(0); setsink(choice); collide(); renderfield(); renderMODE(); }