Week 2:
the
class web page (note use of gradient, CSS, interaction)
Simplest SVG
Your class web folder (and URL)
Assignment #2: (Due Thursday Sept. 20 : Note new due date, and new part c) for 2.1!)
2.1
Take the example of the construction of an SVG triangle shown here
and
change the code such that a) the intersection of the medians is
calculated and then plotted rather than estimated b) the center of
rotation is, then , defined as the centroid (namely that point) c)
finally once that centroid has been constructed animate the rotation of
the triangle about that point.
2.2
Take the example at
http://srufaculty.sru.edu/david.dailey/css/rot3Dsimple1.svg and
complete the cube so that it has all six faces rotating properly about
a fixed point. Extra credit if you get it working in Chrome (Firefox should be easier due to better standards support).