O'Reilly logo

Getting Started with Processing.py by Casey Reas, Ben Fry, Allison Parrish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Media

Processing is capable of drawing more than simple lines and shapes. It’s time to learn how to load raster images, vector files, and fonts into our programs to extend the visual possibilities to photography, detailed diagrams, and diverse typefaces.

Processing uses a folder named data to store such files, so that you never have to think about their location when moving sketches around and exporting them. We’ve posted some media files online for you to use in this chapter’s examples.

Download this file, unzip it to the desktop (or somewhere else convenient), and make a mental note of its location.

Note

To unzip on OS X, just double-click the file, and it will create a folder named media. On Windows, double-click the media.zip ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required