Oslo - Generativ design - 2004.0824
Day 2: Motion & behavior - slide 02
 


Ways of creating motion

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


Transformations

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


Oppgaver

Alle oppgaver skal være 400x400 piksler store.

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.

 
AHO, Oslo 2004 - Marius Watz
Hovedsiden - Neste - Forrige