Foreword |
|
xvi | |
|
Introduction |
|
xx | |
|
Why Start Making With Processing? |
|
|
xx | |
|
|
xx | |
|
|
xxi | |
|
|
xxi | |
|
|
xxiv | |
|
|
xxiv | |
Project 0 Getting Started With Processing |
|
2 | (14) |
|
|
4 | (2) |
|
|
4 | (1) |
|
A Tool For Art And Design |
|
|
4 | (1) |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
7 | (3) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
11 | (2) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
13 | (1) |
|
Cartesian Coordinate Plane |
|
|
13 | (3) |
Project 1 Pixel Art |
|
16 | (16) |
|
|
18 | (1) |
|
|
18 | (3) |
|
Translating Your Sketch Into Code |
|
|
21 | (2) |
|
|
23 | (2) |
|
|
25 | (1) |
|
Removing Or Modifying Your Outlines |
|
|
26 | (2) |
|
Scaling Your Sketch To Epic Proportions |
|
|
28 | (2) |
|
|
30 | (2) |
Project 2 Holiday Card |
|
32 | (16) |
|
|
34 | (1) |
|
|
34 | (8) |
|
|
34 | (1) |
|
|
35 | (4) |
|
|
39 | (2) |
|
|
41 | (1) |
|
Programming A Digital Collage |
|
|
42 | (4) |
|
|
42 | (1) |
|
|
43 | (3) |
|
|
46 | (1) |
|
|
47 | (1) |
Project 3 A First Dynamic Sketch |
|
48 | (16) |
|
|
50 | (1) |
|
|
50 | (1) |
|
|
51 | (1) |
|
|
51 | (1) |
|
|
52 | (3) |
|
|
52 | (2) |
|
A Refresher On Relational Operators |
|
|
54 | (1) |
|
|
54 | (1) |
|
Following The Bouncing Ball |
|
|
55 | (4) |
|
|
56 | (1) |
|
|
57 | (2) |
|
Trails Of Color And Multiple Variables |
|
|
59 | (3) |
|
|
59 | (1) |
|
Manipulating Individual Shapes |
|
|
60 | (2) |
|
|
62 | (2) |
Project 4 Interactive Time-Based Art |
|
64 | (16) |
|
|
66 | (2) |
|
Finding The Mouse And Keypresses |
|
|
67 | (1) |
|
|
67 | (1) |
|
Putting Built-In Values Into Action |
|
|
68 | (1) |
|
|
68 | (2) |
|
|
70 | (1) |
|
|
71 | (4) |
|
Comparing The Major Time Functions |
|
|
71 | (1) |
|
|
72 | (3) |
|
|
75 | (4) |
|
|
79 | (1) |
Project 5 Enter The Matrix |
|
80 | (12) |
|
|
82 | (2) |
|
|
84 | (4) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
87 | (1) |
|
Hacking Your Previous Projects |
|
|
88 | (2) |
|
|
90 | (2) |
Project 6 Image Processing With A Collage |
|
92 | (26) |
|
|
94 | (1) |
|
|
95 | (1) |
|
Using Your Image In A Sketch |
|
|
96 | (4) |
|
|
97 | (2) |
|
|
99 | (1) |
|
|
100 | (5) |
|
|
100 | (2) |
|
|
102 | (1) |
|
|
103 | (2) |
|
|
105 | (3) |
|
|
108 | (3) |
|
|
111 | (4) |
|
|
115 | (3) |
Project 7 Playing With Text |
|
118 | (16) |
|
|
120 | (1) |
|
|
121 | (1) |
|
|
122 | (2) |
|
|
124 | (2) |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
126 | (3) |
|
|
127 | (1) |
|
|
128 | (1) |
|
|
129 | (4) |
|
Fetching Statistics And Setting Up |
|
|
129 | (1) |
|
Indicating Mouse Quadrant |
|
|
130 | (2) |
|
Showing Time And Mouse Coordinates |
|
|
132 | (1) |
|
|
133 | (1) |
Project 8 Two Drawing Programs |
|
134 | (12) |
|
|
136 | (1) |
|
|
136 | (2) |
|
|
138 | (2) |
|
Implementing Mousedragged() |
|
|
138 | (2) |
|
Implementing Mousepressed() |
|
|
140 | (1) |
|
A Simple Painting Program |
|
|
140 | (4) |
|
Creating A Color-Changing Feedback Box |
|
|
141 | (2) |
|
|
143 | (1) |
|
|
144 | (2) |
Project 9 A Maze Game |
|
146 | (20) |
|
|
148 | (1) |
|
|
149 | (4) |
|
Working With ASCII And Keycode |
|
|
149 | (2) |
|
|
151 | (2) |
|
|
153 | (6) |
|
|
154 | (1) |
|
|
155 | (1) |
|
Detecting Wall Touches With Get() |
|
|
156 | (1) |
|
Adding The Victory Condition |
|
|
157 | (2) |
|
Adding A Makey Makey Controller |
|
|
159 | (5) |
|
|
159 | (1) |
|
|
160 | (2) |
|
Connecting The Makey Makey To Your Computer |
|
|
162 | (2) |
|
|
164 | (2) |
Project 10 Manipulating Movies And Capturing Video |
|
166 | (18) |
|
|
168 | (3) |
|
Adding Libraries To Processing |
|
|
168 | (1) |
|
Using Libraries In Your Sketch |
|
|
168 | (2) |
|
Calling Library Functions |
|
|
170 | (1) |
|
Adding Your Own Videos To A Sketch |
|
|
171 | (1) |
|
Applying Tints And Filters |
|
|
172 | (2) |
|
Introducing For() Loops And Arrays |
|
|
174 | (3) |
|
|
177 | (3) |
|
Modifying The Setup() Function |
|
|
177 | (2) |
|
|
179 | (1) |
|
|
180 | (2) |
|
Adding The Setup() Function |
|
|
180 | (1) |
|
|
181 | (1) |
|
|
182 | (2) |
Project 11 Audio Processing With Minim |
|
184 | (24) |
|
|
186 | (1) |
|
Introducing The Minim Library |
|
|
186 | (3) |
|
Creating A Single-Song Audio Player |
|
|
189 | (5) |
|
Introducing Minim's Audiosample Class |
|
|
194 | (1) |
|
Improving Your Audio Player With Metadata |
|
|
195 | (3) |
|
|
198 | (5) |
|
|
198 | (1) |
|
|
199 | (4) |
|
Recording Audio To Create A Soundboard |
|
|
203 | (3) |
|
Creating The Class Objects |
|
|
203 | (1) |
|
Writing The Setup() And Draw() Functions |
|
|
203 | (1) |
|
Recording And Playing Samples |
|
|
204 | (1) |
|
|
204 | (2) |
|
|
206 | (2) |
Project 12 Building A Weather Dashboard With JSON Data |
|
208 | (24) |
|
What Does JSON Data Look Like? |
|
|
210 | (3) |
|
|
213 | (2) |
|
Getting Weather Data In JSON |
|
|
215 | (3) |
|
Using JSON Data In Processing |
|
|
218 | (2) |
|
Writing A Custom Data Parsing Function |
|
|
220 | (7) |
|
Starting A New Function Tab |
|
|
220 | (1) |
|
|
221 | (1) |
|
Writing A Basic Custom Function In Update_data |
|
|
222 | (2) |
|
Parsing Your Weather Data In A Custom Function |
|
|
224 | (3) |
|
Drawing The Weather Dashboard In The Main Tab |
|
|
227 | (2) |
|
Pulling A Weather Icon From The Web |
|
|
229 | (2) |
|
|
231 | (1) |
Project 13 Using Sensors With Processing And Arduino |
|
232 | (34) |
|
|
234 | (1) |
|
What Is A Microcontroller |
|
|
234 | (1) |
|
|
235 | (1) |
|
The Sparkfun Digital Sandbox |
|
|
235 | (2) |
|
Installing The Arduino Software |
|
|
237 | (3) |
|
Installing Arduino And Drivers On Windows |
|
|
237 | (1) |
|
Installing Arduino And FTDI Drivers On OS X |
|
|
238 | (1) |
|
Installing Arduino On Ubuntu Linux |
|
|
239 | (1) |
|
Introducing The Arduino Ide |
|
|
240 | (2) |
|
Selecting Your Board And Choosing A Port |
|
|
242 | (1) |
|
|
243 | (3) |
|
Exploring An Arduino Sketch |
|
|
243 | (1) |
|
Writing The Setup() Function |
|
|
243 | (1) |
|
Writing The Loop() Function |
|
|
244 | (2) |
|
|
246 | (1) |
|
Reading Versus Writing Data |
|
|
246 | (1) |
|
Reading Data From Sensors |
|
|
247 | (3) |
|
Creating The Sensor Data Dashboard In Processing |
|
|
250 | (9) |
|
Importing Libraries And Creating Variables |
|
|
250 | (1) |
|
Preparing Processing For Serial Communication |
|
|
251 | (1) |
|
Fetching Your Serial Data |
|
|
252 | (2) |
|
Testing The Serial Connection |
|
|
254 | (2) |
|
Visualizing Your Sensor Data |
|
|
256 | (3) |
|
Logging Sensor Data With Processing |
|
|
259 | (2) |
|
|
261 | (5) |
|
Sending Data From Processing To Arduino |
|
|
261 | (2) |
|
Receiving Processing Data On An Arduino |
|
|
263 | (3) |
Index |
|
266 | |