Code as creative process - Atmosferas/LIS - October 2004
Day 2: Animation & interaction - slide 05
 


Transformations

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

- Using transforms to draw complex shapes


3D space

- 3D coordinates
- rotateX, rotateY,rotateZ
- box(), sphere()
- lights()


Exercises

AN03: Create a pattern of shapes in 3 dimensions. You can use any shape. Use translate and rotate to position your objects.

AN04: Modify AN03 so that the mouse position causes the pattern to change, for instance so that it is more random or rotates etc.

AN07: New exercise: Create a complex shape out of multiple rects and ellipses. Use translate(), rotate() and scale() to draw multiple instances of it. Use a color palette consisting on 3 "hot" colors and 2 "cool" colors to draw the complex shape. Make the colors expressive, so that your shape is a proper graphic composition.

 
Lisbon, 2004.1011 - Marius Watz
Back to index - Next slide - Previous slide