//Shipra Gupta //27 feb 2008 //Processing, Shape3 // Modify code 22-04 to create a sequence of different compositions. int x = 0; // X-coordinate int u = 15; // Units float a = -0.15; // Angle void setup() { size(200, 200); fill(225, 199, 44, 100); noStroke(); smooth(); noLoop(); } void draw() { background(255); tail(x, u, a); } void tail(int xpos, int units, float angle) { pushMatrix(); translate(xpos, 0); for (int i = units; i > 0; i--) { // Count in reverse rect(0, 0, i, 200); translate(0, 8); rotate(angle); } popMatrix(); }