68 this->radial_filter_radius =
fl::min(w, h) * 0.65;
119 fl::u16 idx =
mCtx->xyMapFn(
x,
y,
mCtx->xyMapUserData);
124 return mCtx->xyMapFn(
x,
y,
mCtx->xyMapUserData);
135 ctx.mEngine = fl::make_unique<Engine>(&ctx);
139 ctx.mEngine->init(w, h);
146 ctx.mEngine->setTime(
t);
#define FASTLED_FORCE_INLINE
float multiply(float &a, float &b) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
void logFrame(unsigned long &c) FL_NO_EXCEPT
void get_ready(unsigned long &a, unsigned long &b) FL_NO_EXCEPT
fl::u32 millis() FL_NO_EXCEPT
Universal millisecond timer - returns milliseconds since system startup.
float colorburn(float &a, float &b) FL_NO_EXCEPT
void init(Context &ctx, int w, int h) FL_NO_EXCEPT
void calculate_oscillators(oscillators &timings, modulators &move, fl::u32 current_time, float speed_factor) FL_NO_EXCEPT
void setTime(Context &ctx, fl::u32 t) FL_NO_EXCEPT
FASTLED_FORCE_INLINE rgb rgb_sanity_check(rgb &pixel) FL_NO_EXCEPT
void run_default_oscillators(oscillators &timings, modulators &move, fl::u32 current_time, float speed_factor, float master_speed=0.005) FL_NO_EXCEPT
void render_polar_lookup_table(float cx, float cy, fl::vector< fl::vector< float > > &polar_theta, fl::vector< fl::vector< float > > &distance, int num_x, int num_y) FL_NO_EXCEPT
float add(float &a, float &b) FL_NO_EXCEPT
float colordodge(float &a, float &b) FL_NO_EXCEPT
FASTLED_FORCE_INLINE float render_value(render_parameters &animation) FL_NO_EXCEPT
float screen(float &a, float &b) FL_NO_EXCEPT
void logOutput(unsigned long &b) FL_NO_EXCEPT
float subtract(float &a, float &b) FL_NO_EXCEPT
Base definition for an LED controller.
void setTime(fl::u32 t) FL_NO_EXCEPT
float colorburn(float &x, float &y) FL_NO_EXCEPT
float colordodge(float &x, float &y) FL_NO_EXCEPT
void run_default_oscillators(float master_speed=0.005) FL_NO_EXCEPT
void calculate_oscillators(oscillators &t) FL_NO_EXCEPT
void logFrame() FL_NO_EXCEPT
render_parameters animation
float add(float &x, float &y) FL_NO_EXCEPT
float screen(float &x, float &y) FL_NO_EXCEPT
FASTLED_FORCE_INLINE float render_value(render_parameters &anim) FL_NO_EXCEPT
fl::vector< fl::vector< float > > distance
void logOutput() FL_NO_EXCEPT
void init(int w, int h) FL_NO_EXCEPT
FASTLED_FORCE_INLINE void setPixelColorInternal(int x, int y, rgb pixel) FL_NO_EXCEPT
fl::optional< fl::u32 > currentTime
Engine(Context *ctx) FL_NO_EXCEPT
float multiply(float &x, float &y) FL_NO_EXCEPT
fl::vector< fl::vector< float > > polar_theta
float subtract(float &x, float &y) FL_NO_EXCEPT
fl::u32 getTime() FL_NO_EXCEPT
void setSpeedFactor(float speed) FL_NO_EXCEPT
float radial_filter_radius
FASTLED_FORCE_INLINE fl::u16 xyMap(fl::u16 x, fl::u16 y) FL_NO_EXCEPT
FASTLED_FORCE_INLINE rgb rgb_sanity_check(rgb &p) FL_NO_EXCEPT
void get_ready() FL_NO_EXCEPT