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
{{ message }}
Repository navigation
Several layouts: no button to left-right scroll #156
Thanks for the report! The tab strip scrolls sideways, but only with a trackpad or a touch screen: a mouse wheel cannot reach the tabs past the edge. The next build puts an arrow over each end of the strip that has tabs beyond it.
For a matrix like yours, one layout can replace the seven rows. This MoonLive layout script places rows of lights from one strand, each row left to right or right to left, every row the same way or snaked. Run it as a MoonLive layout in place of the seven rows, and set cols to 10, rows to 7 and wiring to how your strand runs:
// Rows of lights from one strand, each row wired left to right or right to left: every row the same way, or snaked.classRowsLayout {
byte cols = 10;
byte rows = 7;
byte wiring = 2;
intdimensions() { return2; }
string tags() { return"💫"; }
voiddefineControls() {
addControl("cols", cols, 1, 128); // lights in each rowaddControl("rows", rows, 1, 128); // rows, the first at the topaddSelect("wiring", wiring, "left to right|right to left|snake from the left|snake from the right"); // which way the strand runs each row
}
voidplaceLights() {
int back = 0; // 1 while a row runs right to leftif (wiring == 1) { back = 1; }
if (wiring == 3) { back = 1; }
for (int y = 0; y < rows; y = y + 1) {
for (int i = 0; i < cols; i = i + 1) {
if (back == 1) { addLight(cols - 1 - i, y, 0); }
else { addLight(i, y, 0); }
}
if (wiring >= 2) { back = 1 - back; } // a snaked strand turns at the end of each row
}
}
}
If your strand snakes and starts at the left, the built-in Grid layout does the same with its serpentine switch on.
Activity
MoonModules commentedon Oct 25, 2026
Like this?
ewowi commentedon Oct 25, 2026
Message from the team ;-)
Thanks for the report! The tab strip scrolls sideways, but only with a trackpad or a touch screen: a mouse wheel cannot reach the tabs past the edge. The next build puts an arrow over each end of the strip that has tabs beyond it.
For a matrix like yours, one layout can replace the seven rows. This MoonLive layout script places rows of lights from one strand, each row left to right or right to left, every row the same way or snaked. Run it as a MoonLive layout in place of the seven rows, and set
colsto 10,rowsto 7 andwiringto how your strand runs:If your strand snakes and starts at the left, the built-in Grid layout does the same with its
serpentineswitch on.Tab strips scroll with arrows; a moved board is found where it is now
MoonModules commentedon Oct 26, 2026
fix is in latest
closing the issue, reopen when needed