FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Module_Experiment9()

void animartrix_detail::ANIMartRIX::Module_Experiment9 ( )
inline

Definition at line 3939 of file animartrix_detail.hpp.

3939 {
3940
3941 get_ready();
3942
3943 timings.master_speed = 0.03; // master speed 0.031
3944
3945 float w = 0.3;
3946
3947 timings.ratio[0] = 0.1; // speed ratios for the oscillators, higher
3948 // values = faster transitions
3949 timings.ratio[1] = 0.011;
3950 timings.ratio[2] = 0.013;
3951 timings.ratio[3] = 0.33 * w;
3952 timings.ratio[4] = 0.36 * w; // speed ratios for the oscillators, higher
3953 // values = faster transitions
3954 timings.ratio[5] = 0.38 * w;
3955 timings.ratio[6] = 0.0003;
3956
3958
3959 for (int x = 0; x < num_x; x++) {
3960 for (int y = 0; y < num_y; y++) {
3961
3962 animation.dist = distance[x][y];
3963 animation.angle = polar_theta[x][y] + move.radial[1];
3964 animation.z = 5;
3965 animation.scale_x = 0.001;
3966 animation.scale_y = 0.1;
3967 animation.scale_z = 0.1;
3968 animation.offset_y = -10 * move.linear[0];
3969 animation.offset_x = 20;
3970 animation.offset_z = 10;
3971 animation.low_limit = 0;
3973
3974 pixel.red = 10 * show1;
3975 pixel.green = 0;
3976 pixel.blue = 0;
3977
3979
3981 }
3982 }
3983 }
int y
Definition simple.h:93
int x
Definition simple.h:92
fl::HeapVector< fl::HeapVector< float > > distance
float render_value(render_parameters &animation)
void calculate_oscillators(oscillators &timings)
virtual void setPixelColorInternal(int x, int y, rgb pixel)=0
fl::HeapVector< fl::HeapVector< float > > polar_theta

References animation, calculate_oscillators(), distance, get_ready(), move, num_x, num_y, pixel, polar_theta, render_value(), rgb_sanity_check(), setPixelColorInternal(), show1, timings, x, and y.

+ Here is the call graph for this function: