Moar snow c:
This commit is contained in:
parent
ff7a4f0f93
commit
ea3fb1439c
|
@ -17,8 +17,8 @@ var snowStorm = (function(window, document) {
|
|||
|
||||
this.autoStart = true; // Whether the snow should start automatically or not.
|
||||
this.excludeMobile = true; // Snow is likely to be bad news for mobile phones' CPUs (and batteries.) Enable at your own risk.
|
||||
this.flakesMax = 128; // Limit total amount of snow made (falling + sticking)
|
||||
this.flakesMaxActive = 64; // Limit amount of snow falling at once (less = lower CPU use)
|
||||
this.flakesMax = 1000; // Limit total amount of snow made (falling + sticking)
|
||||
this.flakesMaxActive = 128; // Limit amount of snow falling at once (less = lower CPU use)
|
||||
this.animationInterval = 33; // Theoretical "miliseconds per frame" measurement. 20 = fast + smooth, but high CPU use. 50 = more conservative, but slower
|
||||
this.useGPU = true; // Enable transform-based hardware acceleration, reduce CPU load.
|
||||
this.className = null; // CSS class name for further customization on snow elements
|
||||
|
|
Loading…
Reference in New Issue