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: usermods/user_fx/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ We will go into greater detail on how custom effects work in the usermod and how
21
21
Below are some helpful variables and functions to know as you start your journey towards WLED effect creation:
22
22
***SEGMENT.intensity / speed / custom1 etc.** -> This syntax helps define the UI sliders that can make certain elements of your running code editable by the user. (These can be controlled by the API as well.)
23
23
***SEGENV.call / step / aux0 / aux1** - these are useful counters for you to use in your code.
24
-
***SEGLEN / SEG_W / SEG_H** -> These variables help define the length and width of your LED strip/matrix. They can be changed at any time if the user sets new segment size(s).
24
+
***SEGLEN / SEG_W / SEG_H** -> These variables are macros that help define the length and width of your LED strip/matrix segment. They can be changed at any time if the user sets new segment size(s).
25
25
***SEGCOLOR(x) / SEGPALETTE** for user colors from UI (and how it relates to meta string)
26
26
* explaining available functions for pixel drawing (the ones defined in FX_2Dfcn and FX_fcn, like move(), blur() etc.)
27
27
***SEGMENT.color_from_palette()** function (which should be favoured over ColorFromPalette())
0 commit comments