DANIEL SHIFFMAN
LEARNING PROCESSING
THE NATURE OF CODE
EXAMPLES
CHAP 1:
Pixels
1-1
stroke fill
1-2
no Fill
1-3
rgb color
1-4
alpha
1-5
zoog
CHAP 2:
Processing
2-1
zoog
CHAP 3:
Interaction
3-1
setup and draw
3-2
mouseX mouseY
3-3
zoog mouse
3-4
continuous line
3-5
mouse key events
3-6
interactive zoog
3-7
translated zoog
CHAP 4:
Variables
4-1
Declaring Variables
4-2
using variables
4-3
incrementingvar
4-4
many variables
4-5
System Variables
4-6
More variables
4-7
random painting
4-08
zoog variables
CHAP 5:
Conditionals
5-1
conditionals fading colors
5-2
conditionals quadrants
5-3
rollovers
5-4
hold button
5-5
switch button
5-6
bouncing ball
5-7
bouncing color
5-08
path along edges
5-09
gravity
5-10
bouncing zoog
CHAP 6:
Loops
6-1
many lines
6-2
many lines 2
6-3
while loop
6-4
infinite loop
6-5
infinite loop 2
6-6
for loop
6-7
local variable
6-08
draw is a loop
6-09
loop mouse
6-10
zoog loop arms
6-11
many zoogs
CHAP 7:
Functions
7-1
function definition
7-2
calling function
7-3
modularity
7-4
return type
7-5
zoog functions
CHAP 08:
Objects
08-1
single object
08-2
two objects
08-3
zoog object
CHAP 09:
Arrays
09-1
array declare
09-2
array initialize
09-3
array initialize2
09-4
array initialize while
09-5
array initialize for
09-6
array operation
09-7
dot length
09-08
mouse history
09-09
array objects
09-10
array interactive objects
09-11
append to array
09-12
array of zoogs
CHAP 10:
Algorithms
10-1
catcher
10-2
bouncing balls
10-3
intersection
10-4
timer
10-5
OOP Timer
10-6
raindrop behavior
10-7
many drops
10-08
drop design
10-09
all together
10-10
rain catcher game
CHAP 13:
Mathematics
13-1
modulo
13-2
random distribution
13-3
probability
13-4
noise
13-5
map
13-5
polar cartesian
13-6
oscillation
13-7
wave
13-08
recursion
13-09
2darray
13-10
grid cells
CHAP 14:
Transformations and 3D
14-1
growing rect
14-2
multiple translation
14-3
rect z translate
14-4
pyramid
14-5
rotate rectangle center
14-6
rotateZ
14-7
rotateX
14-08
rotateY
14-09
rotation multiple axes
14-10
rotating pyramids
14-11
scale
14-12
rotate rect1
14-13
rotate rect2
14-14
rotate rect1 rect2
14-15
spinning objects
14-16
solar system
14-17
nested push pop
14-18
solar system OOP
14-19
PShape
CHAP 15:
Images and Pixels
15-1
draw image
15-2
ImageSprite
15-3
ImageArray1
15-4
ImageArray2
15-5
PixelArray
15-6
PixelArray2D
15-7
PixelArrayImage
15-08
Brightness
15-09
FlashLight
15-10
ThresholdDestinationImage
15-11
ThresholdFilter
15-12
PixelNeighborEdge
15-13
Convolution
15-14
Pointillism
15-15
explode3D
CHAP 16:
Video
16-1
Capture
16-2
ManipulateCapture
16-3
BrightnessCapture
16-4
MoviePlayback
16-5
MovieScrub
16-6
Grid
16-7
PixelateCaptureGrid
16-08
BrightnessMirror
16-09
Scribbler
16-10
ScribblerMirror
16-11
ColorTrack
16-12
BackgroundRemove
16-13
MotionPixels
16-14
MotionSensor
CHAP 17:
Text
17-1
displaytext
17-2
textalign
17-3
scrollingtext
17-4
textmirror
17-5
rotatetext
17-6
textbreakingup
17-7
boxesoncurve
17-08
textalongcurve
CHAP 18:
Data
18-1
userinput
18-2
splitcommas
18-3
LoadSaveTable
18-4
manualparsing
18-5
concordance
18-6
XMLYahooWeather
18-7
LoadSaveXML
18-08
LoadSaveJSON
18-09
Thread
18-10
NYTimes API
CHAP 19:
Networking
19-1
simple server
19-2
simple client
19-3
broadcasting server
19-4
client bgcolor
19-5
client rotation
19-6
multiuser server
19-7
multiuser client
19-08
serial input one number
19-09
serial handshaking
19-10
serial parsing string
CHAP 20:
Sound
20-1
playback
20-2
sound effect
20-3
manipulate sound
20-4
pan
20-5
reverb
20-6
noise
20-6
oscillator frequency
20-7
envelope
20-08
playback analysis
20-09
mic input
20-10
mic threshold
20-11
mic double threshold
20-12
soundfile FFT
CHAP 21:
Exporting
21-1
basic PDF
21-2
begin end record PDF
21-3
multi frame PDF
21-4
3D PDF
21-5
saveFrames
21-6
saveFrames 2
CHAP 22:
Advanced OOP
22-1
inheritance
22-2
polymorphism
CHAP 23:
Java
23-1
JavaClass Random
23-2
ArrayList
23-3
Rectangle
23-4
ArrayList Rectangle
23-5
mouse history pvector
EXERCISES
VIDEOS
DOWNLOADS
RESOURCES
GET THE BOOK
BUY ON AMAZON
6-6
for loop
SKETCH RUNNING VIA P5.JS
JS CODE
/
PDE CODE
ON GITHUB