Wednesday, July 30, 2008


Link to HW3

Here's the animation I put together, it incorporates a couple different concepts and the code itself is fairly dynamic (ellipse origin and size are based on stage width and height expressed as the built-in variables). Fill opacity is linked to the scale of the ellipse, and the fill color changes based on whether it's "growing" or "shrinking". Using conditional statements, once it "grows" to the bounds of the stage, it switches to "shrinking" until it reaches a scale of 0, and then it switches back to growing, therefore the endless loop is built in.

1 comment:

DCNY said...

pretty cool it is. how about make the color randomly ? :p..i know u can do it..