/* L-System Cherry Tree September, 2005 blprnt@blprnt.com */ Lsystem ls = new Lsystem("FF"); RuleSet rs = new RuleSet(); Engine e = new Engine(300, 600, -29.5, -20); 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; ; void setup() { size(600,600,P3D); framerate(60); branchcount = 0; startw = 15; PImage b; b = loadImage("cherry2.gif"); image(b,0,0); loadPixels(); for(int i=0; i