In Class Examples for an Intro to Programming Class.  The class closely followed Daniel Shiffman's spectacular book "Learning Processing," with a few updates (such as changes related to Processing 2.0 and introducing JSON during the XML lesson).