topical media & game development

talk show tell print

graphic-processing-learning-10-example-10-1-example-10-1.pde / pde



  // Learning Processing
  // Daniel Shiffman
  // http://www.learningprocessing.com
  
  // Example 10-1: Catcher
  
  Catcher catcher;
  
  void setup() {
    size(400,400);
    catcher = new Catcher(32);
    smooth();
  }
  
  void draw() {
    background(255);
    catcher.setLocation(mouseX,mouseY);
    catcher.display();
  }
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.