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

◆ Module_Experiment3()

void animartrix_detail::ANIMartRIX::Module_Experiment3 ( )
inline

Definition at line 3513 of file animartrix_detail.hpp.

3513 {
3514
3515 get_ready();
3516
3517 timings.master_speed = 0.01; // master speed
3518
3519 timings.ratio[0] = 0.0025; // speed ratios for the oscillators, higher
3520 // values = faster transitions
3521 timings.ratio[1] = 0.0027;
3522 timings.ratio[2] = 0.029;
3523 timings.ratio[3] = 0.033; // speed ratios for the oscillators, higher
3524 // values = faster transitions
3525
3527
3528 for (int x = 0; x < num_x; x++) {
3529 for (int y = 0; y < num_y; y++) {
3530
3531 animation.dist =
3532 distance[x][y] - (12 + move.directional[3] * 4);
3533 animation.angle = move.noise_angle[0] + move.noise_angle[1] +
3534 polar_theta[x][y];
3535 animation.z = 5;
3536 animation.scale_x = 0.1;
3537 animation.scale_y = 0.1;
3538 animation.offset_z = -10;
3539 animation.offset_y = 20 * move.linear[2];
3540 animation.offset_x = 10;
3541 animation.low_limit = 0;
3543
3544 pixel.red = show1;
3545 pixel.green = show1 - 80;
3546 pixel.blue = show1 - 150;
3547
3549
3551 }
3552 }
3553 }
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: