Computers in the future may weigh no more than 1.5 tons.

Popular Mechanics, 1949

Take me to your leader.

—Zoog, 2008

In this chapter:

 Downloading and installing Processing

 The Processing interface

 The Processing sketchbook

 Writing code


 The Processing reference

 The Run button

 Your first sketch

2-1 Processing to the rescue

Now that you have conquered the world of primitive shapes and RGB color, you are ready to implement this knowledge in a real-world programming scenario. Happily, the environment you are going to use is Processing, free and open source software developed by Ben Fry and Casey Reas at the MIT Media Lab in 2001. (See this book’s introduction for more about Processing’s history.)

Processing’s core library of functions ...

Get Learning Processing, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.