DEV Community

Discussion on: Creating a snowfall effect with HTML and CSS

Collapse
 
matthijsewoud profile image
⚡️

It looks good, but like you said consumes too much CPU. What would be a way to make this less harsh on the CPU? Make it with JS/Canvas?

Collapse
 
alvaromontoro profile image
Alvaro Montoro

JS/Canvas would probably be a much better option. This one makes the browser have to calculate and render X elements (the number of snowflakes).