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

◆ Module_Experiment1()

void animartrix_detail::ANIMartRIX::Module_Experiment1 ( )
inline

Definition at line 3430 of file animartrix_detail.hpp.

3430 {
3431
3432 get_ready();
3433
3434 timings.master_speed = 0.03; // master speed
3435
3436 timings.ratio[0] = 0.0025; // speed ratios for the oscillators, higher
3437 // values = faster transitions
3438 timings.ratio[1] = 0.0027;
3439 timings.ratio[2] = 0.029;
3440 timings.ratio[3] = 0.033; // speed ratios for the oscillators, higher
3441 // values = faster transitions
3442
3444
3445 for (int x = 0; x < num_x; x++) {
3446 for (int y = 0; y < num_y; y++) {
3447
3448 animation.dist = distance[x][y] + 20 * move.directional[0];
3449 animation.angle = move.noise_angle[0] + move.noise_angle[1] +
3450 polar_theta[x][y];
3451 animation.z = 5;
3452 animation.scale_x = 0.1;
3453 animation.scale_y = 0.1;
3454 animation.offset_z = -10;
3455 animation.offset_y = 20 * move.linear[2];
3456 animation.offset_x = 10;
3457 animation.low_limit = 0;
3459
3460 pixel.red = 0;
3461 pixel.green = 0;
3462 pixel.blue = show1;
3463
3465
3467 }
3468 }
3469 }
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: