Example
// Learning Processing
// Daniel Shiffman
// http://www.learningprocessing.com

// Example 1-1: stroke and fill
size(200,200);
background(255);
stroke(0); 
fill(150);
rect(50,50,75,100);
  • Errol

    Hi, great website! Question: is there a difference between the examples on this site and the content of the book sold here? I was wondering if the book has more in depth explanations per example, or if it is identical in content to this site. Thanks again!

  • http://www.learningprocessing.com Daniel Shiffman

    Yes, the book has lots of accompanying text with all the examples, you can preview the book on google.

    http://books.google.com/books?id=yrR1YoiM2EAC

  • Errol

    Thanks, I actually bought the book yesterday through Amazon… they also have a “Look Inside” feature.