//carrie mae *prototype6* PFont font; float inc = 0.0; void setup() { size(500, 500); stroke(255, 24, 24, 25); smooth(); font = loadFont("AmericanTypewriter-CondensedLight-32.vlw"); textFont(font); } void draw() { fill(204, 24); rect(0,0, width, height); fill(100, 170, 20); text("hummingbird", random(-500, 200), random(-20, 220)); // background(24, 200,10,300); inc += 0.01; float angle = sin(inc)/10.0 + sin(inc*1.2)/20.0; tail(118, 9, angle/1.3); tail(133, 22, angle); tail(144, 10, angle/1.3); tail(162, 40, angle); tail(188, 47, angle*2); } void tail(int x, int units, float angle) { pushMatrix(); translate(x, 300); for (int i = units; i > 0; i--) { strokeWeight(i); line(0, 0, 0, -8); translate(0, -8); rotate(angle); } popMatrix(); }