topical media & game development

talk show tell print

graphic-processing-learning-07-example-7-2-example-7-2.pde / pde



  // Learning Processing
  // Daniel Shiffman
  // http://www.learningprocessing.com
  
  // Example 7-2: Calling a function
  
  void setup() {
   size(100,100);
   smooth(); 
  }
  
  void draw() {
    background(255);
    drawBlackCircle();
  }
  
  void drawBlackCircle() {
    fill(0);
    ellipse(50,50,20,20);
  }
  


(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.