excercise 2.1
Monday, February 21st @ 10:58 pm

thought I’d play around with the empty file idea..so I used the actionscript to draw a movie clip and then add to it once it’s initially drawn. it’s still pretty primative, but it was just an excercise..every time you load it it should look a little different in the end (unless the random number generator isn’t random enough..)

links to the .swf and .fla files.

Last Modified 10/10 @ 4:05 pm
Comments Off - Posted in homework by zach  




excercise 2
Saturday, February 12th @ 3:54 pm

Well, this one wasn’t as bad as I thought it might be. The image I chose to vectorize was a lot simpler this time, but it worked really well for the idea I had to script it. Almost the entire key was drawn with the regular flash tools, and I used way to many layers again.. (17 including layers that only served as guides and are hidden). Makes it easier to go back and re-tweak certain things I guess. So the notches are the only part of the key that’s drawn with the script. I have a line drawn for the outline, and the last 2 line segments (which close the shape) are drawn the same color as the fill to make them invisible. There’s 23 points on the line, and a total of 9 variables to control their position (a few never move).

You can view the .swf or download the source.

edit: I was going to modify the source to smooth the transitions between each set of notches, but then I realized that the lineto() function only allows integer values..so that made it kind of pointless to pursue (not much you can do to smooth a change of 2 pixels if you can move a minimum of 1 pixel at a time). It’s kind of annoying how many of flash’s built-in functions will only accept integers, but it has no problem placing your points/objects at decimal values when you modify things on the canvas.

Last Modified 10/10 @ 4:05 pm
Comments Off - Posted in homework by zach  




VW commercial
Saturday, February 12th @ 10:07 am

This isn’t really class related, but I felt it was worth sharing anyway. VW has a new commercial airing in the UK, and they did a pretty amazing job with it. Here’s a link to the commercial, and here’s another blog posting about it that contains a short interview with one of the guys who danced in it.

and with that..time to start working on the homework…

Last Modified 10/10 @ 4:05 pm
Comments Off - Posted in cool stuff by zach