Contents
Foreword
About the Authors
About the Technical Reviewer
About the Cover Image Artist
Acknowledgments
Introduction
Chapter 1: Diving into the Shallow End
Programming vs. Computer Science
Art + Science = Creative Coding
MIT Media Lab
What Is Processing?
Bits and Bytes
Mnemonics
Java
Processing
Quick Tour
Processing Menu System
Edit Menu
Sketch Menu
Tools Menu
Help Menu
Additional Menus
Summary
Chapter 2: Art by Numbers
Algorithms
Pseudocode Example
Generative Algorithm
Drawing with Code
Primitives
Code Comments
Coordinate Systems
Algorithmic Face
Primitive Variables
Face Implementation
Quick Math Refresher
Chapter 3: Processing Boot Camp
Functions
Reimplementing rect()
Local Variables and Scope
Adding Some Logic
Switch and Ternary ...