| Line 23: |
Line 23: |
| | 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 |
| − | this.excludeMobile = true; // Snow is likely to be bad news for mobile phones' CPUs (and batteries.) By default, be nice. | + | this.excludeMobile = false; // 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.flakeBottom = null; // Integer for Y axis snow limit, 0 or null for "full-screen" snow effect |
| | this.followMouse = true; // Snow movement can respond to the user's mouse | | this.followMouse = true; // Snow movement can respond to the user's mouse |
| Line 32: |
Line 32: |
| | this.useMeltEffect = true; // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it | | this.useMeltEffect = true; // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it |
| | this.useTwinkleEffect = false; // Allow snow to randomly "flicker" in and out of view while falling | | this.useTwinkleEffect = false; // Allow snow to randomly "flicker" in and out of view while falling |
| − | this.usePositionFixed = true; // true = snow does not shift vertically when scrolling. May increase CPU load, disabled by default - if enabled, used only where supported | + | this.usePositionFixed = false; // true = snow does not shift vertically when scrolling. May increase CPU load, disabled by default - if enabled, used only where supported |
| | this.usePixelPosition = false; // Whether to use pixel values for snow top/left vs. percentages. Auto-enabled if body is position:relative or targetElement is specified. | | this.usePixelPosition = false; // Whether to use pixel values for snow top/left vs. percentages. Auto-enabled if body is position:relative or targetElement is specified. |
| | | | |