topical media & game development

talk show tell print

graphic-processing-learning-01-example-1-3-example-1-3.pde / pde



  // Learning Processing
  // Daniel Shiffman
  // http://www.learningprocessing.com
  
  // Example 1-3: RGB Color
  smooth();
  
  background(255);
  noStroke();
  
  // Bright red
  fill(255,0,0);
  ellipse(20,20,16,16);
  
  // Dark red
  fill(127,0,0);
  ellipse(40,20,16,16);
  
  // Pink (pale red)
  fill(255,200,200);
  ellipse(60,20,16,16);
  


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