ianhi_processing/NatureOfCode/The-Nature-of-Code-Examples-master/Processing/chp8_fractals/Exercise_8_08_09_TreeArrayListLeaves/Leaf.pde
// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com

// Recursive Tree (w/ ArrayList)

// A class for a leaf that gets placed at the end of 
// the last branches

class Leaf {
  PVector loc;

  Leaf(PVector l) {
    loc = l.get();
  }

  void display() {
    noStroke();
    fill(50,100);
    ellipse(loc.x,loc.y,4,4);   
  }
}

