enable snow on mobile
parent
9dd7fcdccb
commit
9285a379ee
|
@ -21,7 +21,6 @@ function snow(flakesMax) {
|
|||
this.animationInterval = 70; // 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
|
||||
this.excludeMobile = true; // Snow is likely to be bad news for mobile phones' CPUs (and batteries.) By default, be nice.
|
||||
this.flakeBottom = null; // Integer for Y axis snow limit, 0 or null for "full-screen" snow effect
|
||||
this.followMouse = false; // Snow movement can respond to the user's mouse
|
||||
this.snowColor = "#fff"; // Don't eat (or use?) yellow snow.
|
||||
|
|
Loading…
Reference in New Issue