Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How To Created Code Christmas snow For Web site?

christmas snow

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 TahirMalek

TahirMalek

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 16 December 2015 - 02:03 AM

Dear Sir, 

 

My Name Tahir Malek . We Have been Animating Since 2008. I Want Create Christmas snow On Web Site. 

 

Please Suggest me HTML Code.

 

Tahir.

 

http://www.thecheesy...lkthrough.html 


Edited by TahirMalek, 16 December 2015 - 02:04 AM.


#2 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts

Posted 21 December 2015 - 11:05 PM

1) You'll need some sprites - images of snowflakes with transparency.

2) You'll animate the snow using Javascript; you'll need to load an image of a snowflake and move it across a transparent layer (use CSS to move it to the top level) to make it look like snow is falling. Some randomization of the timing and location of the snowflake would make it more realistic.


sudo rm -rf / && echo $'Sanitize your inputs!'