Skip to content

MMM-Halloween is a Magic Mirror module that adds a spooky Halloween theme to your Magic Mirror display by animating ghosts across the screen. Customize the number of ghosts, their size, speed, and opacity to create the perfect Halloween atmosphere.

License

Notifications You must be signed in to change notification settings

SLFaleiro/MMM-Halloween

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Halloween

MMM-Halloween is a Magic Mirror module that adds a spooky Halloween theme to your Magic Mirror display by animating ghosts across the screen. Customize the number of ghosts, their size, speed, and opacity to create the perfect Halloween atmosphere.

Halloween GIF

Features

  • Display multiple animated ghosts floating across the screen.
  • Customize ghost appearance with adjustable size, speed, and opacity.
  • Add a static GIF (e.g., a jack-o'-lantern) to the display for extra ambiance.

Installation

  1. Clone the Repository

    Navigate to your Magic Mirror's modules directory and clone this repository:

    git clone https://github.com/SLFaleiro/MMM-Halloween.git
    
  2. Navigate to the Module Directory

    cd MMM-Halloween
    
  3. Add to Magic Mirror Configuration

    Open your config.js file in the Magic Mirror config directory and add the following configuration block:

    {
      module: "MMM-Halloween",
      position: "fullscreen_above",
      config: {
                numberOfGhosts: 10,
                updateInterval: 1000 * 99999,
                minSize: 100,
                maxSize: 400,
                opacity: 0.35,
                staticGif: "assets/images/jack.gif",
                gifPosition: "bottom-left",
                gifSize: 150 
      }
    }
    
    

Configuration Options

  • numberOfGhosts: (integer) Number of ghosts to display on the screen.
  • minSize: (integer) Minimum size (in pixels) of the ghosts.
  • maxSize: (integer) Maximum size (in pixels) of the ghosts.
  • opacity: (float) Opacity of the ghosts (0 to 1).
  • staticGif: (string) Path to a static GIF to display, e.g., a jack-o'-lantern.
  • gifPosition: (string) Position of the static GIF on the screen (e.g., ""top-left", "top-right", "bottom-left", "bottom-right", "center", "top-center", "bottom-center", "left-center", "right-center"").
  • gifSize: (integer) Size (in pixels) of the static GIF.

Usage

Start your Magic Mirror to see the ghosts in action. They will randomly float across the screen according to the parameters you have set in the configuration.

License

This project is licensed under the GNU General Public License v2.0. You are free to use, modify, and distribute this software under the terms of the GPL. See the LICENSE file for details.

Support

If you encounter any issues or have questions, feel free to open an issue on the GitHub repository or contribute with a pull request.

About

MMM-Halloween is a Magic Mirror module that adds a spooky Halloween theme to your Magic Mirror display by animating ghosts across the screen. Customize the number of ghosts, their size, speed, and opacity to create the perfect Halloween atmosphere.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published