Moar snow c:

This commit is contained in:
Sophie Marie 2023-12-29 13:19:58 -06:00
parent ff7a4f0f93
commit ea3fb1439c
Signed by: IDeletedSystem64
GPG Key ID: 33A12B0480AFC8E9
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ var snowStorm = (function(window, document) {
this.autoStart = true; // Whether the snow should start automatically or not. 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.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.flakesMax = 1000; // Limit total amount of snow made (falling + sticking)
this.flakesMaxActive = 64; // Limit amount of snow falling at once (less = lower CPU use) 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.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.useGPU = true; // Enable transform-based hardware acceleration, reduce CPU load.
this.className = null; // CSS class name for further customization on snow elements this.className = null; // CSS class name for further customization on snow elements