Post by Teahouse Keeper on Nov 30, 2006 2:10:59 GMT -5
Do you know how hard it is to make snow fall in Teahouse? The perfect snowfall?
Snowfall effect, not Snowflake effect.
Googling for the codes/scripts, I got mainly Snowflake effect which is not as natural looking as Snowfall. There're not many Snowfall effect codes.
Snowfall is more like real snow falling. There's even wind direction. Take this cool site for instance. If you ignore the snow collecting at the bottom of the screen (which according to them, can be CPU-intensive), the effect is perfect. Click on "Change Wind"
www.schillmania.com/projects/snowstorm/
Unfortunately, when I tried using this code here, grey/black small squares came out instead of that nice white round snowfall *sighs*
Plus, the collection of square snow at the bottom of the screen could not be stopped. And trying to view the site with IE browser would hang the site. (I'm using Firefox).
It was so sad. Such a perfect snowfall. The best site I found. I love the angle of the snowfall. Like windswept, windblown snow on a nice snowy day. Makes me feel cold and wanna wrap up. Perfect for X'mas.
Another site that google keeps coming up with, is called DSeffects. The snowfall is more like a snowglobe type of effect, with snow swirling around a pic. I was not able to get it to work here, despite the so-called code generator provided there. I think the credits stay there unless you pay for registration.
www.dseffects.com/applets/DS_Snow/DS_Snow.html
All these codes (for snowflake effect as well) are Javascript.
There're even cooler and movie-like snowfall effect using Flash. But since Flash is not something that everyone has, and it is more complicated to do, I stuck with Javascript which I can understand enough to use.
Snowflake effect (or Autumn effect with leaves falling instead of snowflake or Bubbles effect with bubbles rising) is very different from Snowfall effect.
www.dynamicdrive.com/dynamicindex3/snow.htm
www.dynamicdrive.com/dynamicindex3/leaves.htm
www.dynamicdrive.com/dynamicindex3/bubble.htm
Flake means you need a snowflake image. So far, I have not found a flake that is small enough to act like real snow. They are too huge to be pretty.
Once that flake or whatever image you like is found, you just host the pic somewhere and then put the url into the Snowflake code/script. But the effect is jerky on Firefox Browser, and even when it runs smoothly on IE, the effect is not as good as Snowfall effect. It is just not good enough.
What you see here and now, is a combination of 2 codes. The first gives the star snowfall effect. The other gives the particles of snow. Hope you like
The first code was thanks to someone named Unistar at Proboards Coding support who provided me with a link to the site that listed what I needed. Second code was a code I found
Both works. Hahahaha....
[Note: for IE, the effect is different. There's much more snow particles than viewed with Mozilla/Firefox browser. And the particles look like squares. I am unable to control that. Not sure if it happens to you.
For Mozilla/Firefox, as the snow particles fall and touch the text, they "shave off" certain parts of the alphabets. But this does not happen with IE.
I guess whether you like the snow effects or not, will depend on which browser you're using.]
Merry X'mas!!!
Snowfall effect, not Snowflake effect.
Googling for the codes/scripts, I got mainly Snowflake effect which is not as natural looking as Snowfall. There're not many Snowfall effect codes.
Snowfall is more like real snow falling. There's even wind direction. Take this cool site for instance. If you ignore the snow collecting at the bottom of the screen (which according to them, can be CPU-intensive), the effect is perfect. Click on "Change Wind"
www.schillmania.com/projects/snowstorm/
Unfortunately, when I tried using this code here, grey/black small squares came out instead of that nice white round snowfall *sighs*
Plus, the collection of square snow at the bottom of the screen could not be stopped. And trying to view the site with IE browser would hang the site. (I'm using Firefox).
It was so sad. Such a perfect snowfall. The best site I found. I love the angle of the snowfall. Like windswept, windblown snow on a nice snowy day. Makes me feel cold and wanna wrap up. Perfect for X'mas.
Another site that google keeps coming up with, is called DSeffects. The snowfall is more like a snowglobe type of effect, with snow swirling around a pic. I was not able to get it to work here, despite the so-called code generator provided there. I think the credits stay there unless you pay for registration.
www.dseffects.com/applets/DS_Snow/DS_Snow.html
All these codes (for snowflake effect as well) are Javascript.
There're even cooler and movie-like snowfall effect using Flash. But since Flash is not something that everyone has, and it is more complicated to do, I stuck with Javascript which I can understand enough to use.
Snowflake effect (or Autumn effect with leaves falling instead of snowflake or Bubbles effect with bubbles rising) is very different from Snowfall effect.
www.dynamicdrive.com/dynamicindex3/snow.htm
www.dynamicdrive.com/dynamicindex3/leaves.htm
www.dynamicdrive.com/dynamicindex3/bubble.htm
Flake means you need a snowflake image. So far, I have not found a flake that is small enough to act like real snow. They are too huge to be pretty.
Once that flake or whatever image you like is found, you just host the pic somewhere and then put the url into the Snowflake code/script. But the effect is jerky on Firefox Browser, and even when it runs smoothly on IE, the effect is not as good as Snowfall effect. It is just not good enough.
What you see here and now, is a combination of 2 codes. The first gives the star snowfall effect. The other gives the particles of snow. Hope you like
The first code was thanks to someone named Unistar at Proboards Coding support who provided me with a link to the site that listed what I needed. Second code was a code I found
Both works. Hahahaha....
[Note: for IE, the effect is different. There's much more snow particles than viewed with Mozilla/Firefox browser. And the particles look like squares. I am unable to control that. Not sure if it happens to you.
For Mozilla/Firefox, as the snow particles fall and touch the text, they "shave off" certain parts of the alphabets. But this does not happen with IE.
I guess whether you like the snow effects or not, will depend on which browser you're using.]
Merry X'mas!!!