Construct wave effect with given coordinate mapping and parameters.
- Parameters
-
| xymap | Coordinate mapping from 2D grid to 1D LED array |
| args | Configuration parameters (uses defaults if not specified) |
Definition at line 184 of file wave.h.
187
188 if (
args.crgbMap ==
nullptr) {
189
191 } else {
192
194 }
199 }
Fx2d(const XYMap &xyMap) FL_NO_EXCEPT
void setXCylindrical(bool on) FL_NO_EXCEPT
Enable/disable cylindrical topology on x-axis.
void setAutoUpdate(bool autoUpdate) FL_NO_EXCEPT
Enable/disable automatic simulation updates.
void setOutputBlur(fl::u8 amount, fl::u8 passes=1) FL_NO_EXCEPT
Configure the post-process output blur (#3122 A4)
void setUseChangeGrid(bool enabled) FL_NO_EXCEPT
Enable/disable change grid tracking optimization.
WaveSimulation2D mWaveSim
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
References fl::Fx2d::Fx2d(), args, dampening(), fl::FL_NO_EXCEPT, fl::Fx2d::getHeight(), fl::Fx2d::getWidth(), mWaveSim, setAutoUpdate(), setOutputBlur(), setUseChangeGrid(), setXCylindrical(), speed, and xymap.