hcodes/snowflakes

CPU Load issues

tomneedham opened this issue · 4 comments

Hey :) Implemented this library over at ownCloud for a nice xmas feel: https://marketplace.owncloud.com/apps/xmas but browser CPU load is a bit of an issue.

With the default settings (count: 50 and speed 1) my Chrome browser uses 75% CPU.

Thanx, I will look.

Maybe we can throttle the fps? 60 max would seem appropriate, if we can give the browser some rest

CSS animation will help.
PR #2

Done. v2.0.1