Thursday, December 31st, 2009
>When I talked about some snow related CSS3 experiment, I could not imagine @Natbat was already preparing something like snowflakes, an almost fully CSS3 featured snow FX created for clearleft, specially suited for Chrome and Safari.
Am I missing anybody? … sure, me!
- var totalSnowFlakes = Math.max(
- document.documentElement.offsetWidth *
- document.documentElement.offsetHeight /
- ) >> 0, 40), 10
Probably not perfect, the aim is to avoid same number of flakes in mobile devices, netbooks, or desktop PCs.
I guess one day we’ll have exposed CPU model and RAM amount as read only userAgent properties, so that all new effects could avoid stress for web surfers.
Something like System namespace in ActionScript, with capabilities for audio and video and extra info about the current navigator … maybe just an AS to JS bridge ’till that day? We’ll see, today the important thing is simply one: Have Fun!
Posted by webreflection at 8:13 am