HyperWerk - Processing workshop - January 2004
Day 2: Motion & behavior - slide 02
 


Ways of creating motion

- sin & cos
- random
- interpolation
- direction / velocity calculation


Transformations

- push(), pop(),
- translate()
- rotate()
- scale()


Exercises

All exercises should be 400x400 pixels.

MV01: Create a program with setup() and loop().

Define 6 x,y coordinates and use them to draw a shape. Update the coordinates inside loop() so that the shape changes or moves around.

 
HyperWerk, Basel 2004 - Marius Watz
Back to index - Next slide - Previous slide