Day # 66/100: Snow animation



As I have already stated, animations are a great way to practice CSS fundamentals. But they’re also very helpful to polish your Javascript skills. For today’s project I decided to create an animation that simulates snow falling.

To achieve that, you need to create a canvas element so you can draw the small snowballs that “fall” from the sky. Then, it’s just a matter of handling the width and the height of each snowball after it’s being generated. Besides, you need to control the speed in which those snowballs are falling


This way we make sure that we are creating an indefinite animation in which snowballs. All of this can be made with Javascript. That is why I insist on practicing animations to enhance your web development skills: because you will learn a lot while you also have a lot of fun!


Comments

Popular posts from this blog

Day # 35: Flip Book

Day # 1: Homepage w/Introduction

Day # 8: Inspiration