Left the snowglobe open for about 10 minutes in a tab and Firefox hit 2GB of memory usage. :-( Not necessarily your fault, but definitely hampers the charm... pretty demo, regardless. Wish I had a device with support for HTML orientation events so I could try it out there.
Ouch. Sorry - that is indeed a problem (not necessarily in this context - this page goes away on monday - but in general)! Strangely, we are reusing our objects, so I don't think it can be the javascript code itself. Could it somehow be Firefox's implementation of canvas?
It's very basic though and also in Flash so it won't run on iphone etc. =/
Yet it was fun too watch what people did with it so far.
Like my friend who did a series of videogame styled globes like this one.
http://www.snowglobecreator.com/?uid=52#featured
While the post itself talks briefly about implementing the snow algorithm and the tilting, more advanced people can go directly through the code over at github: https://gist.github.com/716215
Rotation of my iPhone seemed to really throw it off. All the snowflakes suddenly zoomed off to the left, and then there were no flakes left in the globe.
After I returned back to portrait orientation there will still no flakes :(
interesting - we tried it out (was it ultra slow for you too?) and while we didn't see the snowflakes zoom to the left, we didn't get orientation events. We didn't have a lot of time so we went with it, but we'll look into the code and see what's up.