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.