|
9 | 9 | * driverOn: sends LED output to ESP32 gpio pins. |
10 | 10 | * Switch off to see the effect framerate in System Status/Metrics |
11 | 11 | * Switch on to see the effect framerate throttled by a LED driver in System Status/Metrics (800KHz, 256 leds, 24 bits is 130 fps theoretically - 120 practically) |
| 12 | +* Pin: Currently only 2 and 16 supported |
12 | 13 | * Nodes: One or more processes, can be fixture definitions, mappings, effects, projections. Currently all nodes are effects. |
13 | 14 | * Nodes can have arguments |
14 | 15 | * Scrips: Running Live scripts (WIP) |
| 16 | +* If a script file is updated (here or in the [File Manager](https://ewowi.github.io/MoonBase/moonbase/files/)) and the file is part of an active node, it will rerun |
15 | 17 |
|
16 | 18 | <img width="498" alt="Screenshot 2025-03-29 at 14 12 01" src="https://github.com/user-attachments/assets/3a5a3743-c0a4-4456-96cb-f4abd0d01450" /> |
17 | 19 |
|
18 | 20 | ## Technical |
19 | 21 |
|
20 | 22 | * See [Modules](../modules.md) |
| 23 | +* Upon changing a pin, FastLED.addLeds will rerun |
21 | 24 | * Uses ESPLiveScripts, see compileAndRun. compileAndRun is started when in Nodes a file.sc animation is choosen |
22 | 25 | * To do: kill running scripts, e.g. when changing effects |
23 | 26 | * To do: use Nodes arguments as arguments to scripts or hardcoded effects |
|
32 | 35 | * Each node has a type |
33 | 36 | * Fixture definition: tell where each pixture is in a 1D/2D/3D physical coordinate space (based on StarLight) |
34 | 37 | * Fixture mapping: change the fixture to a 1D/2D/3D virtual coordinate space |
| 38 | + * e.g. if the fixture is a globe, you can map that to 2D using mercator projection mapping |
| 39 | + * if the fixture is 200x200 you can map it to 50x50 |
35 | 40 | * Effect: run an effect in (part of) the virtual coordinate space |
| 41 | + * or in the physical space if you want to run at highest performance, e.g. a random effect doesn't need to go through mappings |
36 | 42 | * Modifier: Mirror, rotate, etc, multiple projections allowed (projection in StarLight) |
37 | 43 | * Driver show: show the result on Leds (using FastLED, hpwit drivers), ArtNet, DDP, ... |
38 | 44 | * Future situation: Nodes and noodles (2) |
|
52 | 58 |
|
53 | 59 | ### UI |
54 | 60 |
|
55 | | -Generated |
| 61 | +Generated by [Module.svelte](https://github.com/ewowi/MoonBase/blob/main/interface/src/routes/custom/module/Module.svelte) |
0 commit comments