int num=100; // how many points int sz=10; // how big an aerosol void setup() { size(400,400); smooth(); background(0); noFill(); stroke(255); } void draw() { if (mousePressed && (mouseX != pmouseX || mouseY != pmouseY)) { 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; } } // START NO NOTES // code used to capture screenshots void keyReleased() { if(key == '`' && !online) save("sketch.png"); }