Copy Segment FX (#4124)
* Added FX to copy a segment in 1D or 2D - copies the source segment - brightness of segment is relative to source segment - optionally shifts the color hue, saturation and brightness - invert, transpose, mirror work - if source or targets do not match in size, smallest size is copied - unused pixels fade to black (allows overlapping segments) - if invalid source ID is set, segment just fades to black - added a rgb2hsv conversion function as the fastled variant is inaccurate and buggy - 1D to 2D and vice versa are supported
This commit is contained in:
1
wled00/FX.h
Executable file → Normal file
1
wled00/FX.h
Executable file → Normal file
@@ -228,6 +228,7 @@ extern byte realtimeMode; // used in getMappedPixelIndex()
|
||||
#define FX_MODE_LAKE 75
|
||||
#define FX_MODE_METEOR 76
|
||||
//#define FX_MODE_METEOR_SMOOTH 77 // replaced by Meteor
|
||||
#define FX_MODE_COPY 77
|
||||
#define FX_MODE_RAILWAY 78
|
||||
#define FX_MODE_RIPPLE 79
|
||||
#define FX_MODE_TWINKLEFOX 80
|
||||
|
||||
Reference in New Issue
Block a user