You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/moonbase/module/drivers.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ The Drivers module defines layers and drivers.
14
14
* Nodes: a list of Layouts and Drivers
15
15
* Nodes can be added (+), deleted (🗑️) or edited (✎) or reordered (drag and drop). The node to edit will be shown below the list, press save (💾) if you want to preserve the change when the device is restarted
16
16
* Reorder: Nodes can be reordered, defining the order of execution
17
-
* Layouts:
18
-
* Drivers:
17
+
* Layouts: Need to be before drivers, multiple layouts can be added
18
+
* Drivers: After Layouts, choose one LEDs driver and optionally add Art-Net and Audio Sync, reordering might need a restart.
19
19
* Controls. A node can be switched on and off and has custom controls, which defines the behaviour of the node
20
20
* See below for a list of existing Layouts and Drivers
Copy file name to clipboardExpand all lines: docs/moonlight/layouts.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,33 +16,27 @@ Want to add a a Layout to MoonLight, see [develop](https://moonmodules.org/MoonL
16
16
17
17
| Name | Preview | Controls | Remarks
18
18
| ---- | ----- | ---- | ---- |
19
-
| Panel || <imgwidth="320"alt="Panel"src="https://github.com/user-attachments/assets/60e6ba73-8956-45bc-9706-581faa17ba16" /> | Defines a 2D panel with width and height|
| Panel || <imgwidth="320"alt="Panel"src="https://github.com/user-attachments/assets/60e6ba73-8956-45bc-9706-581faa17ba16" /> | Defines a 2D panel with width and height<br>Wiring Order (orientation): horizontal (x), vertical (y), depth (z)<br>X++: starts at Top or bottom, Y++: starts left or right<br>snake aka serpentine layout|
20
+
| Panels || <imgwidth="320"alt="Panels"src="https://github.com/user-attachments/assets/ad5a15ea-f3f9-42b9-b8cf-196e7db92249" /> |Panel layout + Wiring order, directions and snake also for each panel |
21
+
| Cube || <imgwidth="320"alt="Cube"src="https://github.com/user-attachments/assets/56393baa-3cc3-4c15-b0b2-dc72f25d36d1" /> | Panel layout + depth<br> Z++ starts front or back<br>multidimensional snaking, good luck 😜|
| Human Sized Cube || <imgwidth="320"alt="HCS"src="https://github.com/user-attachments/assets/de1eb424-6838-4af4-8652-89a54929bb03" /> ||
25
25
| Single Line || <imgwidth="320"alt="Single line"src="https://github.com/user-attachments/assets/70455279-646c-467d-b8e5-492b1aeae0fa" /> ||
26
26
| Single Row || <imgwidth="320"alt="Single row"src="https://github.com/user-attachments/assets/9f9918b9-e1ee-43a8-a02d-7f1ee182888b" /> ||
27
-
| SE16 || <imgwidth="320"alt="SE16"src="https://github.com/user-attachments/assets/0efe941a-acf5-4a2c-a7d6-bdfa91574d1a" /> | Layout(s) for Stephan Electronics 16-Pin ESP32-S3 board, using the pins used on the board|
27
+
| SE16 || <imgwidth="320"alt="SE16"src="https://github.com/user-attachments/assets/0efe941a-acf5-4a2c-a7d6-bdfa91574d1a" /> | Layout(s) including pins for Stephan Electronics 16-Pin ESP32-S3 board<br>see below|
28
28
29
29
!!! warning "Chosing pins"
30
30
31
31
Choose the right pins with care. See also the IO module to see which pins can in general be used for LEDs (💡). But depending on a specific boards some pins might also be in use already.
32
32
33
-
### Panels and cubes
34
-
35
-
* orientation XYZ or YXZ, XZY or YZX, ZXY or ZYX: Vertical or horizontal or depth
36
-
* X++ and Y++ (and Z++): X++: starts at Top or bottom, Y++: starts left or right (Z++ starts front or back)
37
-
* snake X, Y (Z): is the first axis in snake / serpentine layout?, (multidimensional snaking, good luck 😜)
38
-
39
33
### SE16
40
34
41
35
16 channel LED strip driver by Stephane Electronics
* Leds Per Pin: the number of LEDs connected to one pin
39
+
* Leds Per Pin: the number of LEDs connected to each pin
46
40
* Pins Are Columns: are the LEDs on a pin a row of the effect (width is 1 (or 2) x ledsPerPin). If not set the LEDs are a column (height is 1 (or 2) x ledsPerPin)
47
41
* Mirrored Pins: If set it is assumed that LEDs are connected with increasing positions on 8 pins on one side of the board and decreasing positions on the 8 pins of the other side of the board. The resulting size will have a width of 8 and the height (or width) will be 2 * ledsPerPin. If not set, the width will be 16 and the height (or width) = ledsPerPin
| Pinwheel 🧊 || <imgwidth="320"alt="PinWheel"src="https://github.com/user-attachments/assets/46585cea-d301-4221-9af2-65f8054543da" /> | Projects 1D/2D effects onto 2D/3D layouts in a pinwheel pattern.**Swirl**: bend the pinwheel, **Rotation Symmetry**: rotational symmetry of the pattern, **Petals** Virtual width, **Ztwist** twist the pattern along the z-axis. Height: distance from center to corner |
25
-
| RippleYZ 🧊 || <imgwidth="320"alt="RippleYZ"src="https://github.com/user-attachments/assets/90ecf22c-c4c1-4ee9-8096-fd5613fbb1a7" /> | 1D/2D effect will be rippled to 2D/3D (🚨). Shrink: shrinks the original size towards Y and Z, towardsY: copies X into Y, towardsZ: copies XY into Z |
24
+
| Pinwheel 🧊 || <imgwidth="320"alt="PinWheel"src="https://github.com/user-attachments/assets/46585cea-d301-4221-9af2-65f8054543da" /> | Projects 1D/2D effects onto 2D/3D layouts in a pinwheel pattern.<br>**Swirl**: bend the pinwheel<br>**Rotation Symmetry**: rotational symmetry of the pattern<br>**Petals** Virtual width<br>**Ztwist** twist the pattern along the z-axis<br>Height: distance from center to corner |
25
+
| RippleYZ 🧊 || <imgwidth="320"alt="RippleYZ"src="https://github.com/user-attachments/assets/90ecf22c-c4c1-4ee9-8096-fd5613fbb1a7" /> | 1D/2D effect will be rippled to 2D/3D (🚨)<br>Shrink: shrinks the original size towards Y and Z, towardsY: copies X into Y, towardsZ: copies XY into Z |
26
26
27
27
🚨: some effects already do this theirselves e.g. FreqMatrix runs on 1D but copies to 2D and 3D if size allows.
0 commit comments