|
DANM 220: Computer Programming for the Arts, Winter 2008
Exemplary Processing Applets
R&F denotes the Handbook by Casey Reas and Ben Fry
- 071123a
- diag lines move to right, R&F p. 11-15
- 071124a
- diag lines do not stop, R&F p. 11-15
- 071211a
- rects and lines, R&F p. 23-51
- 071216a
- filled shape defined by vertices, R&F p. 70
- 071216b
- same, with experiments, R&F p. 70
- 071216c
- a curve defined by vertices, R&F p. 75
- 071216d
- rect no fill, R&F p. 87
- 071224a
- window shade down, R&F p. 174
- 080214a
- pre-slinky motion, like R&F p. 179
- 080215c
- a simple slink, like R&F p. 179
- 080215d
- two lines, triangle, ellipse, color, curve, text
- 080216a
- ellipse follows cursor, R&F p. 205
- 080216b
- mouse button pressed does something, R&F p. 212
- 080216c
- myButton: mouse button pressed does something
- only if the cursor is inside the button
- 080217a
- press the key "a" on the computer keyboard
- 080220a
- simple slink, looks like 080215c (but compare code)
- 080220b
- pair of slinks
- 080220c
- the slinky, emboldened
- 080220d
- triple slink
- 080220e
- triple slink, better code
- 080220f
- triple slink duet !!!
- 080220g
- mySlider, built from myButton
Revised by Ralph, 20 February 2008
|