Processing - A programming Handbook for Visual Designers Artist, from Casey Reas and Ben Fry
is the book you must have on your desk when playing with Processing.
This book covers all the basic and advanced Processing feature with a lot of great code samples.