情報元: ブラウザでお絵描きプログラミング! Processing.js 登場! - IT戦記Processing.js がすごいのか Canvas タグがすごいのか,とりあえず遊んでみた. random dot int max=100; Particle prt = new Particle[max]; size(200, 200); frameRate(5); int cnt, st; void setup() { cnt=0; st =0; background(0); noStroke(); prt[cnt] = new Particle(); prt[cnt].paint(); } void draw() { background(0); if (cnt < max) { cnt++; prt[cnt] = new Particle(); } else if (st < prt.