A MagicMirror² module that adds gentle falling snow to your mirror. Perfect for creating a winter atmosphere!
Version: 2.0.1
- Removed performance presets system
- Simplified configuration with direct values
- Updated documentation
- Moved all configuration to config.js
- Added comprehensive validation
- Improved error handling
- Initial release
- Beautiful falling snowflakes (white and light blue mix)
- Fully configurable through config.js
- Minimal impact on other modules
- Simple installation
Unlike typical MagicMirror modules that display in specific positions (like top_right
or bottom_left
), this module works differently:
- It covers your entire mirror surface
- The snow falls across all other modules
- It doesn't interfere with other modules' functionality
- It must be set to
position: "fullscreen_above"
to work properly
Think of it as an overlay that adds a snowy atmosphere to your entire MagicMirror.
cd ~/MagicMirror/modules
git clone https://github.com/cgillinger/MMM-SnowEffect.git
Add to your config/config.js
file. Here are some example configurations:
{
module: "MMM-SnowEffect",
position: "fullscreen_above", // This position is required!
config: {
flakeCount: 25,
characters: ['*', '+'],
sparkleEnabled: false,
minSize: 0.8,
maxSize: 1.5
}
}
{
module: "MMM-SnowEffect",
position: "fullscreen_above",
config: {
flakeCount: 50,
characters: ['❄', '❆'],
sparkleEnabled: true,
minSize: 1.0,
maxSize: 2.0
}
}
You can mix and match any settings:
{
module: "MMM-SnowEffect",
position: "fullscreen_above",
config: {
flakeCount: 30, // Custom flake count
characters: ['*', '❄'], // Mix of simple and fancy characters
sparkleEnabled: true, // Enable sparkle effect
minSize: 0.5, // Custom size range
maxSize: 2.0,
speed: 1.5 // 50% faster than normal
}
}
Option | Description | Default | Range/Values | Notes |
---|---|---|---|---|
snow |
Enable/disable effect | true | boolean | For temporary disable |
flakeCount |
Number of snowflakes | 25 | 1-100 | More flakes = more CPU |
speed |
Fall speed multiplier | 1.0 | 0.1-5.0 | Higher = faster falling |
minSize |
Minimum flake size | 0.8 | 0.1-5.0 | In rem units |
maxSize |
Maximum flake size | 1.5 | 0.1-5.0 | In rem units |
characters |
Snowflake characters | ['*', '+'] | array | Any characters |
sparkleEnabled |
Enable sparkle effect | false | boolean | Affects performance |
- Keep
flakeCount
around 25 or less - Use simple characters (
*
and+
) - Set
sparkleEnabled: false
- Use smaller sizes (0.8 to 1.5 range)
- Can increase
flakeCount
up to 50 - Can use Unicode snowflakes (❄ and ❆)
- Can enable sparkle effects
- Can use larger sizes (1.0 to 2.0 range or more)
-
High CPU Usage
- Reduce
flakeCount
- Use simple characters
- Disable sparkle effect
- Use smaller size range
- Reduce
-
Snow Not Visible
- Verify
position: "fullscreen_above"
in config - Check if the module is listed in your config
- Make sure snow: true is set
- Verify
-
Choppy Animation
- Reduce
flakeCount
- Use simpler characters
- Disable sparkle effect
- Check system performance
- Reduce
-
Module Crashes
- Start with basic configuration
- Gradually add features
- Update MagicMirror to latest version
- MagicMirror²: >= 2.20.0
- Works on all devices (performance varies)
- Major browsers supported
Found a bug or want to suggest improvements? Please create an issue.
- Created by Christian Gillinger
- Based on MagicMirror² by Michael Teeuw (https://github.com/MichMich)
MIT License - see the LICENSE file for details