//the Situation in 2020 //by Jia Tao //2009.11 // An array of Rotater objects Rotater[] rotaters; void setup() { String s = "Arial"; PFont font = createFont(s, 12); textFont(font); size(840,650,P3D); rotaters = new Rotater[140]; // Rotaters are made randomly for (int i = 0; i < rotaters.length; i++ ) { rotaters[i] = new Rotater(random(width),random(height), random(-500, 200), random(-0.1,0.1),random(39)); } } void draw() { background(255); // All Rotaters spin and texts are displayed for (int i = 0; i < rotaters.length; i++ ) { rotaters[i].spin(); rotaters[i].display(); rotaters[i].displayText(); } }