/* L-System Birch Tree September, 2005 blprnt@blprnt.com */ Lsystem ls = new Lsystem("FF"); RuleSet rs = new RuleSet(); Engine e = new Engine(300, 600, -22.5, -25); int value = 0; boolean playing = false; int count = 0; Leaf[] leaves = new Leaf[50000]; int leafcount; int [] leafcolors = new int[1000000]; int [] branchcolors = new int[1000000]; int branchcount; float startw; boolean stamped; void setup() { stamped = false; size(600,600,P3D); framerate(60); branchcount = 0; startw = 15; PImage b; b = loadImage("leaf6.gif"); image(b,0,0); loadPixels(); for(int i=0; i