Chapter 2

Processing

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

- Menu options.

- A Processing “sketchbook.”

- Writing code.

- Errors.

- The Processing reference.

- The “Play” button.

- Your first sketch.

- Publishing your sketch to the web.

2.1 Processing to the Rescue

Now that we conquered the world of primitive shapes and RGB color, we are ready to implement this knowledge in a real world programming scenario. Happily for us, the environment we 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 ...

Get Learning Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.