Text
You are required to purchase Processing: A Programming Handbook for Visual Designers and Artists by Casey Reas and Ben Fry (ISBN 0-262-18262-9). You’ll find it for sale online at Amazon and Barnes and Nobles. The B&N textbook store (on the corner of 18th St and 5th Ave — don’t miss it underneath the scaffolding) has a few copies in stock.
In-progress PDF text for download:
- Part 1: Intro to Processing
- Part 2: Variables and Statements
- Part 3: Functions
- Part 4: Basic Debugging
- Part 5: Anatomy of a Class
- Presentation: Color
Note that any blue text is a link back to the Processing API.
In addition, read over the following pages of the API for code that we’ve used in class:
Structure
- . (dot)
- setup()
- void
- size()
- /* */ (multiline comment)
- false
- noLoop()
- true
- new
- // (comment)
- , (comma)
- {} (curly braces)
- draw()
- loop()
- ; (semicolon)
- [] (array access)
- () (parentheses)
- return
- = (assign)
Environment
Data
Shape
Input
Output
Color
Image
- PImage
- loadImage()
- image()
- noTint()
- imageMode()
- tint()
- filter()
- copy()
- set()
- updatePixels()
- blend()
- loadPixels()
- pixels[]
- get()
Math
- -= (subtract assign)
- + (addition)
- - (minus)
- % (modulo)
- += (add assign)
- / (divide)
- * (multiply)
- ++ (increment)
- – (decrement)
- random()
bene