// Dartmouth CS 2, Winter 2009, Chris Bailey-Kellogg // Notes 9 | Sketch 7 int num=100; // how many points int sz=10; // how big an aerosol boolean rand=false; // all points random colors? void setup() { size(400,400); smooth(); background(0); noFill(); stroke(255); } void draw() { if (mousePressed) { for (int i=0; i0) sz--; } else if (key=='P') { // more points if (num<1000) num+=10; } else if (key=='p') { if (num>10) num-=10; } }