Web 2.Snow

In: web resources

31 Dec 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.

And what about @zacharyjohnson? He put snow all over the network via its Winternetizer, the first snow proxy I have ever seen.

Am I missing anybody? … sure, me!

Above FX is dedicated to all Ajaxian readers and created via some CSS3 rule handled via JavaScript for a partial cross browser implementation. WebKit based browsers, included Android and iPhone, plus Firefox 3.6, should render properly, while the most interesting thing, snow a part, is that for the first time rather than browser sniffing, I have implemented a sort of “screen resolution to power computation” sniff:

JAVASCRIPT:

  1.  
  2. var totalSnowFlakes = Math.max(
  3.     Math.min((
  4.         document.documentElement.offsetWidth *
  5.         document.documentElement.offsetHeight /
  6.         15000
  7.     )>> 0, 40), 10
  8. );
  9.  

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!

Go to Source

2 Responses to Web 2.Snow

Avatar

TheMadProfessor

January 27th, 2010 at 12:39 am

The code

// Create a new unsortedlinked list.
public MyLinkedList1() : this(false) { }

seems dubious – what were you trying to accomplish here? It seems from your comment that you're trying to instantiate a class within the class definition…

Avatar

Arthur Read

March 17th, 2010 at 4:25 am

depending on the size of the driveway, maybe 5-10 bucks. 5 for small 10 for mediums if it's really really really really long suggest 15 but no more than 20.

answer mine please i could use some help http://answers.yahoo.com/question/index;_ylt=AtkbKfChbAwv6HWmHsUBLsrsy6IX;_ylv=3?qid=20100209075402AAL84lO&vm=r

Comment Form

About this blog

This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.