An openFrameworks add-on that works as my personal MOOD-MACHINE.
WALK'n'RANDOMIZE around some MOODS and associated STATES.
-
There are THREE MOODS (also named RANGES). (Red - Yellow - Green)
-
Each RANGE has THREE STATES. (also named TARGETS)
-
Every TARGET can be linked to three (A-B-C) PRESETS RECEIVERS.
-
Each PRESET RECEIVER has 9 available destinations or variations selected as PRESETS / INDEXES.
We will get these indexes changes using callbacks in our ofApp, to apply the States to our Scene,
linking them to change some kind of:
Parameters / States / Scenes / Preset Selections / Colors / Triggering Video / Sounds ...etc
Yes. There is an internal BPM Clock and customizable timers and counters to configure the global speeds or how much time we want to stay or walk around into the MOOD STATES.
Uses ofxBeatClock.
-
MODE RANGED
Looped walking through the Moods/Ranges : 123 321 123 ..., doing randomize to select a Target/State around the contained Targets into the Mood/Range. -
MODE MARKOV CHAIN
Editable matrix to distribute graph probabilities. Customizable file 'transitionMatrix.txt' with your own text editor. (Each row represents each State, and the odds (%) of jumping to the other States, or "to rest into itself". All row values must add up to 1.0 (100%) to be stochastic.):
-
MODE MANUAL CONTROL
Available float to force select a Mood/Range, and to walk'n'randomize States/Targets locked inside the Mood/Range.
- Optionally avoid repeating the same Target/State on the next step State, in case randomize gets the same previous Target/State.
- Optionally Force to Start-from-First Target/State of the Mood/Range when arriving in one of the three Moods.
(Then, for example, if you are triggering a kind of music patterns, you can create a transitional pattern to use when arriving at a Mood). - Colored Preview panel to display the workflow during runtime. Also, customizable layout using the mouse.
- Look into OF_ADDON/examples/.
Download / Clone and add to PROJECT GENERATOR:
- ofxSurfingHelpers
- ofxSurfingBox
- ofxSurfingImGui
- ofxImGui / Fork from @Daandelange.
- ofxBeatClock / Optional. For the Advanced Example.
Already included in OF_ADDON/libs or into other add-ons. No need to add them manually:
- Windows 10 / VS 2022 / OF ~0.12
An add-on by @moebiusSurfing
( ManuMolina ) 2022