FastLED 3.9.14
Loading...
Searching...
No Matches
animartrix_detail::ANIMartRIX Class Referenceabstract

Detailed Description

Definition at line 148 of file animartrix_detail.hpp.

+ Inheritance diagram for animartrix_detail::ANIMartRIX:

Public Member Functions

 ANIMartRIX (int w, int h)
 
virtual uint16_t xyMap (uint16_t x, uint16_t y)=0
 
void setTime (uint32_t t)
 
uint32_t getTime ()
 
void init (int w, int h)
 
void setSpeedFactor (float speed)
 Set the Speed Factor 0.1 to 10 - 1 for original speed.
 
float subtract (float &a, float &b)
 
float multiply (float &a, float &b)
 
float colorburn (float &a, float &b)
 
float add (float &a, float &b)
 
float screen (float &a, float &b)
 
float colordodge (float &a, float &b)
 
float fade (float t)
 
float lerp (float t, float a, float b)
 
float grad (int hash, float x, float y, float z)
 
float pnoise (float x, float y, float z)
 
void calculate_oscillators (oscillators &timings)
 
void run_default_oscillators (float master_speed=0.005)
 
float render_value (render_parameters &animation)
 
void render_polar_lookup_table (float cx, float cy)
 
float map_float (float x, float in_min, float in_max, float out_min, float out_max)
 
rgb rgb_sanity_check (rgb &pixel)
 
void get_ready ()
 
virtual void setPixelColorInternal (int x, int y, rgb pixel)=0
 
void logOutput ()
 
void logFrame ()
 
void report_performance ()
 
void Rotating_Blob ()
 
void Chasing_Spirals ()
 
void Rings ()
 
void Waves ()
 
void Center_Field ()
 
void Distance_Experiment ()
 
void Caleido1 ()
 
void Caleido2 ()
 
void Caleido3 ()
 
void Lava1 ()
 
void Scaledemo1 ()
 
void Yves ()
 
void Spiralus ()
 
void Spiralus2 ()
 
void Hot_Blob ()
 
void Zoom ()
 
void Slow_Fade ()
 
void Polar_Waves ()
 
void RGB_Blobs ()
 
void RGB_Blobs2 ()
 
void RGB_Blobs3 ()
 
void RGB_Blobs4 ()
 
void RGB_Blobs5 ()
 
void Big_Caleido ()
 
void SM1 ()
 
void SM2 ()
 
void SM3 ()
 
void SM4 ()
 
void SM5 ()
 
void SM6 ()
 
void SM8 ()
 
void SM9 ()
 
void SM10 ()
 
void Complex_Kaleido ()
 
void Complex_Kaleido_2 ()
 
void Complex_Kaleido_3 ()
 
void Complex_Kaleido_4 ()
 
void Complex_Kaleido_5 ()
 
void Complex_Kaleido_6 ()
 
void Water ()
 
void Parametric_Water ()
 
void Module_Experiment1 ()
 
void Module_Experiment2 ()
 
void Module_Experiment3 ()
 
void Zoom2 ()
 
void Module_Experiment4 ()
 
void Module_Experiment5 ()
 
void Module_Experiment6 ()
 
void Module_Experiment7 ()
 
void Module_Experiment8 ()
 
void Module_Experiment9 ()
 
void Module_Experiment10 ()
 

Public Attributes

int num_x
 
int num_y
 
float speed_factor = 1
 
float radial_filter_radius = 23.0
 
bool serpentine
 
render_parameters animation
 
oscillators timings
 
modulators move
 
rgb pixel
 
fl::HeapVector< fl::HeapVector< float > > polar_theta
 
fl::HeapVector< fl::HeapVector< float > > distance
 
unsigned long a
 
unsigned long b
 
unsigned long c
 
float show1
 
float show2
 
float show3
 
float show4
 
float show5
 
float show6
 
float show7
 
float show8
 
float show9
 
float show0
 
uint32_t currentTime = 0
 

Constructor & Destructor Documentation

◆ ANIMartRIX() [1/2]

animartrix_detail::ANIMartRIX::ANIMartRIX ( )
inline

Definition at line 174 of file animartrix_detail.hpp.

◆ ANIMartRIX() [2/2]

animartrix_detail::ANIMartRIX::ANIMartRIX ( int w,
int h )
inline

Definition at line 176 of file animartrix_detail.hpp.

◆ ~ANIMartRIX()

virtual animartrix_detail::ANIMartRIX::~ANIMartRIX ( )
inlinevirtual

Definition at line 178 of file animartrix_detail.hpp.

Member Function Documentation

◆ add()

float animartrix_detail::ANIMartRIX::add ( float & a,
float & b )
inline

Definition at line 231 of file animartrix_detail.hpp.

◆ Big_Caleido()

void animartrix_detail::ANIMartRIX::Big_Caleido ( )
inline

Definition at line 1875 of file animartrix_detail.hpp.

◆ calculate_oscillators()

void animartrix_detail::ANIMartRIX::calculate_oscillators ( oscillators & timings)
inline

Definition at line 289 of file animartrix_detail.hpp.

◆ Caleido1()

void animartrix_detail::ANIMartRIX::Caleido1 ( )
inline

Definition at line 843 of file animartrix_detail.hpp.

◆ Caleido2()

void animartrix_detail::ANIMartRIX::Caleido2 ( )
inline

Definition at line 911 of file animartrix_detail.hpp.

◆ Caleido3()

void animartrix_detail::ANIMartRIX::Caleido3 ( )
inline

Definition at line 979 of file animartrix_detail.hpp.

◆ Center_Field()

void animartrix_detail::ANIMartRIX::Center_Field ( )
inline

Definition at line 737 of file animartrix_detail.hpp.

◆ Chasing_Spirals()

void animartrix_detail::ANIMartRIX::Chasing_Spirals ( )
inline

Definition at line 576 of file animartrix_detail.hpp.

◆ colorburn()

float animartrix_detail::ANIMartRIX::colorburn ( float & a,
float & b )
inline

Definition at line 224 of file animartrix_detail.hpp.

◆ colordodge()

float animartrix_detail::ANIMartRIX::colordodge ( float & a,
float & b )
inline

Definition at line 240 of file animartrix_detail.hpp.

◆ Complex_Kaleido()

void animartrix_detail::ANIMartRIX::Complex_Kaleido ( )
inline

Definition at line 2693 of file animartrix_detail.hpp.

◆ Complex_Kaleido_2()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_2 ( )
inline

Definition at line 2784 of file animartrix_detail.hpp.

◆ Complex_Kaleido_3()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_3 ( )
inline

Definition at line 2875 of file animartrix_detail.hpp.

◆ Complex_Kaleido_4()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_4 ( )
inline

Definition at line 2991 of file animartrix_detail.hpp.

◆ Complex_Kaleido_5()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_5 ( )
inline

Definition at line 3111 of file animartrix_detail.hpp.

◆ Complex_Kaleido_6()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_6 ( )
inline

Definition at line 3166 of file animartrix_detail.hpp.

◆ Distance_Experiment()

void animartrix_detail::ANIMartRIX::Distance_Experiment ( )
inline

Definition at line 789 of file animartrix_detail.hpp.

◆ fade()

float animartrix_detail::ANIMartRIX::fade ( float t)
inline

Definition at line 248 of file animartrix_detail.hpp.

◆ get_ready()

void animartrix_detail::ANIMartRIX::get_ready ( )
inline

Definition at line 465 of file animartrix_detail.hpp.

◆ getTime()

uint32_t animartrix_detail::ANIMartRIX::getTime ( )
inline

Definition at line 184 of file animartrix_detail.hpp.

◆ grad()

float animartrix_detail::ANIMartRIX::grad ( int hash,
float x,
float y,
float z )
inline

Definition at line 250 of file animartrix_detail.hpp.

◆ Hot_Blob()

void animartrix_detail::ANIMartRIX::Hot_Blob ( )
inline

Definition at line 1393 of file animartrix_detail.hpp.

◆ init()

void animartrix_detail::ANIMartRIX::init ( int w,
int h )
inline

Definition at line 187 of file animartrix_detail.hpp.

◆ Lava1()

void animartrix_detail::ANIMartRIX::Lava1 ( )
inline

Definition at line 1057 of file animartrix_detail.hpp.

◆ lerp()

float animartrix_detail::ANIMartRIX::lerp ( float t,
float a,
float b )
inline

Definition at line 249 of file animartrix_detail.hpp.

◆ logFrame()

void animartrix_detail::ANIMartRIX::logFrame ( )
inline

Definition at line 476 of file animartrix_detail.hpp.

◆ logOutput()

void animartrix_detail::ANIMartRIX::logOutput ( )
inline

Definition at line 474 of file animartrix_detail.hpp.

◆ map_float()

float animartrix_detail::ANIMartRIX::map_float ( float x,
float in_min,
float in_max,
float out_min,
float out_max )
inline

Definition at line 405 of file animartrix_detail.hpp.

◆ Module_Experiment1()

void animartrix_detail::ANIMartRIX::Module_Experiment1 ( )
inline

Definition at line 3413 of file animartrix_detail.hpp.

◆ Module_Experiment10()

void animartrix_detail::ANIMartRIX::Module_Experiment10 ( )
inline

Definition at line 3968 of file animartrix_detail.hpp.

◆ Module_Experiment2()

void animartrix_detail::ANIMartRIX::Module_Experiment2 ( )
inline

Definition at line 3454 of file animartrix_detail.hpp.

◆ Module_Experiment3()

void animartrix_detail::ANIMartRIX::Module_Experiment3 ( )
inline

Definition at line 3496 of file animartrix_detail.hpp.

◆ Module_Experiment4()

void animartrix_detail::ANIMartRIX::Module_Experiment4 ( )
inline

Definition at line 3575 of file animartrix_detail.hpp.

◆ Module_Experiment5()

void animartrix_detail::ANIMartRIX::Module_Experiment5 ( )
inline

Definition at line 3650 of file animartrix_detail.hpp.

◆ Module_Experiment6()

void animartrix_detail::ANIMartRIX::Module_Experiment6 ( )
inline

Definition at line 3694 of file animartrix_detail.hpp.

◆ Module_Experiment7()

void animartrix_detail::ANIMartRIX::Module_Experiment7 ( )
inline

Definition at line 3758 of file animartrix_detail.hpp.

◆ Module_Experiment8()

void animartrix_detail::ANIMartRIX::Module_Experiment8 ( )
inline

Definition at line 3824 of file animartrix_detail.hpp.

◆ Module_Experiment9()

void animartrix_detail::ANIMartRIX::Module_Experiment9 ( )
inline

Definition at line 3922 of file animartrix_detail.hpp.

◆ multiply()

float animartrix_detail::ANIMartRIX::multiply ( float & a,
float & b )
inline

Definition at line 219 of file animartrix_detail.hpp.

◆ Parametric_Water()

void animartrix_detail::ANIMartRIX::Parametric_Water ( )
inline

Definition at line 3317 of file animartrix_detail.hpp.

◆ pnoise()

float animartrix_detail::ANIMartRIX::pnoise ( float x,
float y,
float z )
inline

Definition at line 260 of file animartrix_detail.hpp.

◆ Polar_Waves()

void animartrix_detail::ANIMartRIX::Polar_Waves ( )
inline

Definition at line 1532 of file animartrix_detail.hpp.

◆ render_polar_lookup_table()

void animartrix_detail::ANIMartRIX::render_polar_lookup_table ( float cx,
float cy )
inline

Definition at line 386 of file animartrix_detail.hpp.

◆ render_value()

float animartrix_detail::ANIMartRIX::render_value ( render_parameters & animation)
inline

Definition at line 350 of file animartrix_detail.hpp.

◆ report_performance()

void animartrix_detail::ANIMartRIX::report_performance ( )
inline

Definition at line 482 of file animartrix_detail.hpp.

◆ RGB_Blobs()

void animartrix_detail::ANIMartRIX::RGB_Blobs ( )
inline

Definition at line 1584 of file animartrix_detail.hpp.

◆ RGB_Blobs2()

void animartrix_detail::ANIMartRIX::RGB_Blobs2 ( )
inline

Definition at line 1640 of file animartrix_detail.hpp.

◆ RGB_Blobs3()

void animartrix_detail::ANIMartRIX::RGB_Blobs3 ( )
inline

Definition at line 1699 of file animartrix_detail.hpp.

◆ RGB_Blobs4()

void animartrix_detail::ANIMartRIX::RGB_Blobs4 ( )
inline

Definition at line 1758 of file animartrix_detail.hpp.

◆ RGB_Blobs5()

void animartrix_detail::ANIMartRIX::RGB_Blobs5 ( )
inline

Definition at line 1816 of file animartrix_detail.hpp.

◆ rgb_sanity_check()

rgb animartrix_detail::ANIMartRIX::rgb_sanity_check ( rgb & pixel)
inline

Definition at line 437 of file animartrix_detail.hpp.

◆ Rings()

void animartrix_detail::ANIMartRIX::Rings ( )
inline

Definition at line 635 of file animartrix_detail.hpp.

◆ Rotating_Blob()

void animartrix_detail::ANIMartRIX::Rotating_Blob ( )
inline

Definition at line 513 of file animartrix_detail.hpp.

◆ run_default_oscillators()

void animartrix_detail::ANIMartRIX::run_default_oscillators ( float master_speed = 0.005)
inline

Definition at line 317 of file animartrix_detail.hpp.

◆ Scaledemo1()

void animartrix_detail::ANIMartRIX::Scaledemo1 ( )
inline

Definition at line 1121 of file animartrix_detail.hpp.

◆ screen()

float animartrix_detail::ANIMartRIX::screen ( float & a,
float & b )
inline

Definition at line 235 of file animartrix_detail.hpp.

◆ setSpeedFactor()

void animartrix_detail::ANIMartRIX::setSpeedFactor ( float speed)
inline

Set the Speed Factor 0.1 to 10 - 1 for original speed.

Parameters
speed

Definition at line 213 of file animartrix_detail.hpp.

◆ setTime()

void animartrix_detail::ANIMartRIX::setTime ( uint32_t t)
inline

Definition at line 183 of file animartrix_detail.hpp.

◆ Slow_Fade()

void animartrix_detail::ANIMartRIX::Slow_Fade ( )
inline

Definition at line 1481 of file animartrix_detail.hpp.

◆ SM1()

void animartrix_detail::ANIMartRIX::SM1 ( )
inline

Definition at line 1957 of file animartrix_detail.hpp.

◆ SM10()

void animartrix_detail::ANIMartRIX::SM10 ( )
inline

Definition at line 2609 of file animartrix_detail.hpp.

◆ SM2()

void animartrix_detail::ANIMartRIX::SM2 ( )
inline

Definition at line 2043 of file animartrix_detail.hpp.

◆ SM3()

void animartrix_detail::ANIMartRIX::SM3 ( )
inline

Definition at line 2105 of file animartrix_detail.hpp.

◆ SM4()

void animartrix_detail::ANIMartRIX::SM4 ( )
inline

Definition at line 2198 of file animartrix_detail.hpp.

◆ SM5()

void animartrix_detail::ANIMartRIX::SM5 ( )
inline

Definition at line 2255 of file animartrix_detail.hpp.

◆ SM6()

void animartrix_detail::ANIMartRIX::SM6 ( )
inline

Definition at line 2350 of file animartrix_detail.hpp.

◆ SM8()

void animartrix_detail::ANIMartRIX::SM8 ( )
inline

Definition at line 2451 of file animartrix_detail.hpp.

◆ SM9()

void animartrix_detail::ANIMartRIX::SM9 ( )
inline

Definition at line 2527 of file animartrix_detail.hpp.

◆ Spiralus()

void animartrix_detail::ANIMartRIX::Spiralus ( )
inline

Definition at line 1256 of file animartrix_detail.hpp.

◆ Spiralus2()

void animartrix_detail::ANIMartRIX::Spiralus2 ( )
inline

Definition at line 1324 of file animartrix_detail.hpp.

◆ subtract()

float animartrix_detail::ANIMartRIX::subtract ( float & a,
float & b )
inline

Definition at line 217 of file animartrix_detail.hpp.

◆ Water()

void animartrix_detail::ANIMartRIX::Water ( )
inline

Definition at line 3224 of file animartrix_detail.hpp.

◆ Waves()

void animartrix_detail::ANIMartRIX::Waves ( )
inline

Definition at line 690 of file animartrix_detail.hpp.

◆ Yves()

void animartrix_detail::ANIMartRIX::Yves ( )
inline

Definition at line 1178 of file animartrix_detail.hpp.

◆ Zoom()

void animartrix_detail::ANIMartRIX::Zoom ( )
inline

Definition at line 1444 of file animartrix_detail.hpp.

◆ Zoom2()

void animartrix_detail::ANIMartRIX::Zoom2 ( )
inline

Definition at line 3538 of file animartrix_detail.hpp.

Member Data Documentation

◆ a

unsigned long animartrix_detail::ANIMartRIX::a

Definition at line 170 of file animartrix_detail.hpp.

◆ animation

render_parameters animartrix_detail::ANIMartRIX::animation

Definition at line 160 of file animartrix_detail.hpp.

◆ b

unsigned long animartrix_detail::ANIMartRIX::b

Definition at line 170 of file animartrix_detail.hpp.

◆ c

unsigned long animartrix_detail::ANIMartRIX::c

Definition at line 170 of file animartrix_detail.hpp.

◆ currentTime

uint32_t animartrix_detail::ANIMartRIX::currentTime = 0

Definition at line 182 of file animartrix_detail.hpp.

◆ distance

fl::HeapVector<fl::HeapVector<float> > animartrix_detail::ANIMartRIX::distance

Definition at line 168 of file animartrix_detail.hpp.

◆ move

modulators animartrix_detail::ANIMartRIX::move

Definition at line 162 of file animartrix_detail.hpp.

◆ num_x

int animartrix_detail::ANIMartRIX::num_x

Definition at line 151 of file animartrix_detail.hpp.

◆ num_y

int animartrix_detail::ANIMartRIX::num_y

Definition at line 152 of file animartrix_detail.hpp.

◆ pixel

rgb animartrix_detail::ANIMartRIX::pixel

Definition at line 163 of file animartrix_detail.hpp.

◆ polar_theta

fl::HeapVector<fl::HeapVector<float> > animartrix_detail::ANIMartRIX::polar_theta

Definition at line 166 of file animartrix_detail.hpp.

◆ radial_filter_radius

float animartrix_detail::ANIMartRIX::radial_filter_radius = 23.0

Definition at line 156 of file animartrix_detail.hpp.

◆ serpentine

bool animartrix_detail::ANIMartRIX::serpentine

Definition at line 158 of file animartrix_detail.hpp.

◆ show0

float animartrix_detail::ANIMartRIX::show0

Definition at line 172 of file animartrix_detail.hpp.

◆ show1

float animartrix_detail::ANIMartRIX::show1

Definition at line 172 of file animartrix_detail.hpp.

◆ show2

float animartrix_detail::ANIMartRIX::show2

Definition at line 172 of file animartrix_detail.hpp.

◆ show3

float animartrix_detail::ANIMartRIX::show3

Definition at line 172 of file animartrix_detail.hpp.

◆ show4

float animartrix_detail::ANIMartRIX::show4

Definition at line 172 of file animartrix_detail.hpp.

◆ show5

float animartrix_detail::ANIMartRIX::show5

Definition at line 172 of file animartrix_detail.hpp.

◆ show6

float animartrix_detail::ANIMartRIX::show6

Definition at line 172 of file animartrix_detail.hpp.

◆ show7

float animartrix_detail::ANIMartRIX::show7

Definition at line 172 of file animartrix_detail.hpp.

◆ show8

float animartrix_detail::ANIMartRIX::show8

Definition at line 172 of file animartrix_detail.hpp.

◆ show9

float animartrix_detail::ANIMartRIX::show9

Definition at line 172 of file animartrix_detail.hpp.

◆ speed_factor

float animartrix_detail::ANIMartRIX::speed_factor = 1

Definition at line 154 of file animartrix_detail.hpp.

◆ timings

oscillators animartrix_detail::ANIMartRIX::timings

Definition at line 161 of file animartrix_detail.hpp.


The documentation for this class was generated from the following file: