forked from rDrama/rDrama
1
0
Fork 0

enable snow on mobile

master
Aevann 2023-12-01 22:56:26 +02:00
parent 9dd7fcdccb
commit 9285a379ee
1 changed files with 0 additions and 1 deletions

View File

@ -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.