MMM-Scenes2
“Life is a theatre set in which there are but few practicable entrances.”
― Victor Hugo, Les Misérables
MagicMirror module to change screen scenes by time and order with ANIMATION EFFECT.
Demo
Click To Play
Click it to see the DEMO.
Its configuration file is in /examples/config.js.example
Successor of MMM-Scenes
Since MM 2.25, a new feature, animateCSS
is introduced into the MagicMirror.
By this update, my previous MMM-Scenes
will be obsoleted. So I remade a new module for MM 2.25
- The update can provide more effects now. ( without my effort. :D )
- I guess custom animation is rarely used, and this update would cover most use-cases. So I decided to drop it.
- I redesigned the structure more simply and intuitively. (
role
is introduced.)
Concept
The scenario of the MM screen comprises a series of scenes. Each module has its role in its appearance scenes to enter and exit by design.
When a scene begins, all modules whose roles end will be expelled, and all modules with the parts in that scene will be admitted.
As described in the scenario, your MM screen will play a drama with modules.
Features
- control show/hide modules by assigning role names to the module’s class
- various animations for modules exit/enter
- control scenes by notification and WebURL endpoints.
- Loop control
- custom indicators