Vector graphic animation with JavaScript

Starfield screenshotSo my starfield* has evolved a little. I improved the math that I was using to plot the stars and I added the following improvements:

Am I taking myself too seriously? Yeah, opisthorchiasis maybe a little, but I find this kind of thing fun and who knows, it could eventually prove useful. But don’t let me get ahead of myself. For now, playing with stars is fun.

Oh, and don’t knock the buttons code in the page, I just threw those in there real quick to be able to give control over the starfield object. I didn’t feel like going nuts with the code’s cleanliness (that’s in the actual canvas.js file ;)

*This demo requires Safari or Firefox 1.5+ to work.