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

Detailed Description

Definition at line 146 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 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
 
std::vector< std::vector< float > > polar_theta
 
std::vector< std::vector< 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 172 of file animartrix_detail.hpp.

◆ ANIMartRIX() [2/2]

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

Definition at line 174 of file animartrix_detail.hpp.

◆ ~ANIMartRIX()

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

Definition at line 176 of file animartrix_detail.hpp.

Member Function Documentation

◆ add()

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

Definition at line 227 of file animartrix_detail.hpp.

◆ Big_Caleido()

void animartrix_detail::ANIMartRIX::Big_Caleido ( )
inline

Definition at line 1874 of file animartrix_detail.hpp.

◆ calculate_oscillators()

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

Definition at line 285 of file animartrix_detail.hpp.

◆ Caleido1()

void animartrix_detail::ANIMartRIX::Caleido1 ( )
inline

Definition at line 841 of file animartrix_detail.hpp.

◆ Caleido2()

void animartrix_detail::ANIMartRIX::Caleido2 ( )
inline

Definition at line 909 of file animartrix_detail.hpp.

◆ Caleido3()

void animartrix_detail::ANIMartRIX::Caleido3 ( )
inline

Definition at line 977 of file animartrix_detail.hpp.

◆ Center_Field()

void animartrix_detail::ANIMartRIX::Center_Field ( )
inline

Definition at line 735 of file animartrix_detail.hpp.

◆ Chasing_Spirals()

void animartrix_detail::ANIMartRIX::Chasing_Spirals ( )
inline

Definition at line 574 of file animartrix_detail.hpp.

◆ colorburn()

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

Definition at line 220 of file animartrix_detail.hpp.

◆ colordodge()

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

Definition at line 236 of file animartrix_detail.hpp.

◆ Complex_Kaleido()

void animartrix_detail::ANIMartRIX::Complex_Kaleido ( )
inline

Definition at line 2692 of file animartrix_detail.hpp.

◆ Complex_Kaleido_2()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_2 ( )
inline

Definition at line 2783 of file animartrix_detail.hpp.

◆ Complex_Kaleido_3()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_3 ( )
inline

Definition at line 2874 of file animartrix_detail.hpp.

◆ Complex_Kaleido_4()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_4 ( )
inline

Definition at line 2990 of file animartrix_detail.hpp.

◆ Complex_Kaleido_5()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_5 ( )
inline

Definition at line 3110 of file animartrix_detail.hpp.

◆ Complex_Kaleido_6()

void animartrix_detail::ANIMartRIX::Complex_Kaleido_6 ( )
inline

Definition at line 3165 of file animartrix_detail.hpp.

◆ Distance_Experiment()

void animartrix_detail::ANIMartRIX::Distance_Experiment ( )
inline

Definition at line 787 of file animartrix_detail.hpp.

◆ fade()

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

Definition at line 244 of file animartrix_detail.hpp.

◆ get_ready()

void animartrix_detail::ANIMartRIX::get_ready ( )
inline

Definition at line 463 of file animartrix_detail.hpp.

◆ getTime()

uint32_t animartrix_detail::ANIMartRIX::getTime ( )
inline

Definition at line 182 of file animartrix_detail.hpp.

◆ grad()

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

Definition at line 246 of file animartrix_detail.hpp.

◆ Hot_Blob()

void animartrix_detail::ANIMartRIX::Hot_Blob ( )
inline

Definition at line 1391 of file animartrix_detail.hpp.

◆ init()

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

Definition at line 185 of file animartrix_detail.hpp.

◆ Lava1()

void animartrix_detail::ANIMartRIX::Lava1 ( )
inline

Definition at line 1055 of file animartrix_detail.hpp.

◆ lerp()

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

Definition at line 245 of file animartrix_detail.hpp.

◆ logFrame()

void animartrix_detail::ANIMartRIX::logFrame ( )
inline

Definition at line 474 of file animartrix_detail.hpp.

◆ logOutput()

void animartrix_detail::ANIMartRIX::logOutput ( )
inline

Definition at line 472 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 403 of file animartrix_detail.hpp.

◆ Module_Experiment1()

void animartrix_detail::ANIMartRIX::Module_Experiment1 ( )
inline

Definition at line 3412 of file animartrix_detail.hpp.

◆ Module_Experiment10()

void animartrix_detail::ANIMartRIX::Module_Experiment10 ( )
inline

Definition at line 3967 of file animartrix_detail.hpp.

◆ Module_Experiment2()

void animartrix_detail::ANIMartRIX::Module_Experiment2 ( )
inline

Definition at line 3453 of file animartrix_detail.hpp.

◆ Module_Experiment3()

void animartrix_detail::ANIMartRIX::Module_Experiment3 ( )
inline

Definition at line 3495 of file animartrix_detail.hpp.

◆ Module_Experiment4()

void animartrix_detail::ANIMartRIX::Module_Experiment4 ( )
inline

Definition at line 3574 of file animartrix_detail.hpp.

◆ Module_Experiment5()

void animartrix_detail::ANIMartRIX::Module_Experiment5 ( )
inline

Definition at line 3649 of file animartrix_detail.hpp.

◆ Module_Experiment6()

void animartrix_detail::ANIMartRIX::Module_Experiment6 ( )
inline

Definition at line 3693 of file animartrix_detail.hpp.

◆ Module_Experiment7()

void animartrix_detail::ANIMartRIX::Module_Experiment7 ( )
inline

Definition at line 3757 of file animartrix_detail.hpp.

◆ Module_Experiment8()

void animartrix_detail::ANIMartRIX::Module_Experiment8 ( )
inline

Definition at line 3823 of file animartrix_detail.hpp.

◆ Module_Experiment9()

void animartrix_detail::ANIMartRIX::Module_Experiment9 ( )
inline

Definition at line 3921 of file animartrix_detail.hpp.

◆ multiply()

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

Definition at line 215 of file animartrix_detail.hpp.

◆ Parametric_Water()

void animartrix_detail::ANIMartRIX::Parametric_Water ( )
inline

Definition at line 3316 of file animartrix_detail.hpp.

◆ pnoise()

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

Definition at line 256 of file animartrix_detail.hpp.

◆ Polar_Waves()

void animartrix_detail::ANIMartRIX::Polar_Waves ( )
inline

Definition at line 1531 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 383 of file animartrix_detail.hpp.

◆ render_value()

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

Definition at line 347 of file animartrix_detail.hpp.

◆ report_performance()

void animartrix_detail::ANIMartRIX::report_performance ( )
inline

Definition at line 480 of file animartrix_detail.hpp.

◆ RGB_Blobs()

void animartrix_detail::ANIMartRIX::RGB_Blobs ( )
inline

Definition at line 1583 of file animartrix_detail.hpp.

◆ RGB_Blobs2()

void animartrix_detail::ANIMartRIX::RGB_Blobs2 ( )
inline

Definition at line 1639 of file animartrix_detail.hpp.

◆ RGB_Blobs3()

void animartrix_detail::ANIMartRIX::RGB_Blobs3 ( )
inline

Definition at line 1698 of file animartrix_detail.hpp.

◆ RGB_Blobs4()

void animartrix_detail::ANIMartRIX::RGB_Blobs4 ( )
inline

Definition at line 1757 of file animartrix_detail.hpp.

◆ RGB_Blobs5()

void animartrix_detail::ANIMartRIX::RGB_Blobs5 ( )
inline

Definition at line 1815 of file animartrix_detail.hpp.

◆ rgb_sanity_check()

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

Definition at line 435 of file animartrix_detail.hpp.

◆ Rings()

void animartrix_detail::ANIMartRIX::Rings ( )
inline

Definition at line 633 of file animartrix_detail.hpp.

◆ Rotating_Blob()

void animartrix_detail::ANIMartRIX::Rotating_Blob ( )
inline

Definition at line 511 of file animartrix_detail.hpp.

◆ run_default_oscillators()

void animartrix_detail::ANIMartRIX::run_default_oscillators ( )
inline

Definition at line 313 of file animartrix_detail.hpp.

◆ Scaledemo1()

void animartrix_detail::ANIMartRIX::Scaledemo1 ( )
inline

Definition at line 1119 of file animartrix_detail.hpp.

◆ screen()

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

Definition at line 231 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 209 of file animartrix_detail.hpp.

◆ setTime()

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

Definition at line 181 of file animartrix_detail.hpp.

◆ Slow_Fade()

void animartrix_detail::ANIMartRIX::Slow_Fade ( )
inline

Definition at line 1480 of file animartrix_detail.hpp.

◆ SM1()

void animartrix_detail::ANIMartRIX::SM1 ( )
inline

Definition at line 1956 of file animartrix_detail.hpp.

◆ SM10()

void animartrix_detail::ANIMartRIX::SM10 ( )
inline

Definition at line 2608 of file animartrix_detail.hpp.

◆ SM2()

void animartrix_detail::ANIMartRIX::SM2 ( )
inline

Definition at line 2042 of file animartrix_detail.hpp.

◆ SM3()

void animartrix_detail::ANIMartRIX::SM3 ( )
inline

Definition at line 2104 of file animartrix_detail.hpp.

◆ SM4()

void animartrix_detail::ANIMartRIX::SM4 ( )
inline

Definition at line 2197 of file animartrix_detail.hpp.

◆ SM5()

void animartrix_detail::ANIMartRIX::SM5 ( )
inline

Definition at line 2254 of file animartrix_detail.hpp.

◆ SM6()

void animartrix_detail::ANIMartRIX::SM6 ( )
inline

Definition at line 2349 of file animartrix_detail.hpp.

◆ SM8()

void animartrix_detail::ANIMartRIX::SM8 ( )
inline

Definition at line 2450 of file animartrix_detail.hpp.

◆ SM9()

void animartrix_detail::ANIMartRIX::SM9 ( )
inline

Definition at line 2526 of file animartrix_detail.hpp.

◆ Spiralus()

void animartrix_detail::ANIMartRIX::Spiralus ( )
inline

Definition at line 1254 of file animartrix_detail.hpp.

◆ Spiralus2()

void animartrix_detail::ANIMartRIX::Spiralus2 ( )
inline

Definition at line 1322 of file animartrix_detail.hpp.

◆ subtract()

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

Definition at line 213 of file animartrix_detail.hpp.

◆ Water()

void animartrix_detail::ANIMartRIX::Water ( )
inline

Definition at line 3223 of file animartrix_detail.hpp.

◆ Waves()

void animartrix_detail::ANIMartRIX::Waves ( )
inline

Definition at line 688 of file animartrix_detail.hpp.

◆ Yves()

void animartrix_detail::ANIMartRIX::Yves ( )
inline

Definition at line 1176 of file animartrix_detail.hpp.

◆ Zoom()

void animartrix_detail::ANIMartRIX::Zoom ( )
inline

Definition at line 1443 of file animartrix_detail.hpp.

◆ Zoom2()

void animartrix_detail::ANIMartRIX::Zoom2 ( )
inline

Definition at line 3537 of file animartrix_detail.hpp.

Member Data Documentation

◆ a

unsigned long animartrix_detail::ANIMartRIX::a

Definition at line 168 of file animartrix_detail.hpp.

◆ animation

render_parameters animartrix_detail::ANIMartRIX::animation

Definition at line 158 of file animartrix_detail.hpp.

◆ b

unsigned long animartrix_detail::ANIMartRIX::b

Definition at line 168 of file animartrix_detail.hpp.

◆ c

unsigned long animartrix_detail::ANIMartRIX::c

Definition at line 168 of file animartrix_detail.hpp.

◆ currentTime

uint32_t animartrix_detail::ANIMartRIX::currentTime = 0

Definition at line 180 of file animartrix_detail.hpp.

◆ distance

std::vector<std::vector<float> > animartrix_detail::ANIMartRIX::distance

Definition at line 166 of file animartrix_detail.hpp.

◆ move

modulators animartrix_detail::ANIMartRIX::move

Definition at line 160 of file animartrix_detail.hpp.

◆ num_x

int animartrix_detail::ANIMartRIX::num_x

Definition at line 149 of file animartrix_detail.hpp.

◆ num_y

int animartrix_detail::ANIMartRIX::num_y

Definition at line 150 of file animartrix_detail.hpp.

◆ pixel

rgb animartrix_detail::ANIMartRIX::pixel

Definition at line 161 of file animartrix_detail.hpp.

◆ polar_theta

std::vector<std::vector<float> > animartrix_detail::ANIMartRIX::polar_theta

Definition at line 164 of file animartrix_detail.hpp.

◆ radial_filter_radius

float animartrix_detail::ANIMartRIX::radial_filter_radius = 23.0

Definition at line 154 of file animartrix_detail.hpp.

◆ serpentine

bool animartrix_detail::ANIMartRIX::serpentine

Definition at line 156 of file animartrix_detail.hpp.

◆ show0

float animartrix_detail::ANIMartRIX::show0

Definition at line 170 of file animartrix_detail.hpp.

◆ show1

float animartrix_detail::ANIMartRIX::show1

Definition at line 170 of file animartrix_detail.hpp.

◆ show2

float animartrix_detail::ANIMartRIX::show2

Definition at line 170 of file animartrix_detail.hpp.

◆ show3

float animartrix_detail::ANIMartRIX::show3

Definition at line 170 of file animartrix_detail.hpp.

◆ show4

float animartrix_detail::ANIMartRIX::show4

Definition at line 170 of file animartrix_detail.hpp.

◆ show5

float animartrix_detail::ANIMartRIX::show5

Definition at line 170 of file animartrix_detail.hpp.

◆ show6

float animartrix_detail::ANIMartRIX::show6

Definition at line 170 of file animartrix_detail.hpp.

◆ show7

float animartrix_detail::ANIMartRIX::show7

Definition at line 170 of file animartrix_detail.hpp.

◆ show8

float animartrix_detail::ANIMartRIX::show8

Definition at line 170 of file animartrix_detail.hpp.

◆ show9

float animartrix_detail::ANIMartRIX::show9

Definition at line 170 of file animartrix_detail.hpp.

◆ speed_factor

float animartrix_detail::ANIMartRIX::speed_factor = 1

Definition at line 152 of file animartrix_detail.hpp.

◆ timings

oscillators animartrix_detail::ANIMartRIX::timings

Definition at line 159 of file animartrix_detail.hpp.


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