Skip to Content
Learning Processing
book

Learning Processing

by Daniel Shiffman
April 2009
Intermediate to advanced content levelIntermediate to advanced
472 pages
11h 36m
English
Morgan Kaufmann
Content preview from Learning Processing
Chapter 1

Pixels

“A journey of a thousand miles begins with a single step.”

—Lao-tzu

In this chapter:

– Specifying pixel coordinates.

– Basic shapes: point, line, rectangle, ellipse.

– Color: grayscale, “RGB.”

– Color transparency.

Note that we are not doing any programming yet in this chapter! We are just dipping our feet in the water and getting comfortable with the idea of creating onscreen graphics with text-based commands, that is, “code”!

1.1 Graph Paper

This book will teach you how to program in the context of computational media, and it will use the development environment Processing (http://www.processing.org) as the basis for all discussion and examples. But before any of this becomes relevant or interesting, we must first channel ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Processing, 2nd Edition

Learning Processing, 2nd Edition

Daniel Shiffman
Interactive Lecturing

Interactive Lecturing

Elizabeth F. Barkley, Claire H. Major

Publisher Resources

ISBN: 9780080920061