15 e->run_default_oscillators();
16 e->timings.master_speed = 0.003;
17 e->calculate_oscillators(e->timings);
19 for (
int x = 0;
x < e->num_x;
x++) {
20 for (
int y = 0;
y < e->num_y;
y++) {
21 e->animation.dist = (e->distance[
x][
y] * e->distance[
x][
y]) / 2;
22 e->animation.angle = e->polar_theta[
x][
y];
24 e->animation.scale_x = 0.005;
25 e->animation.scale_y = 0.005;
27 e->animation.offset_y = -10 * e->move.linear[0];
28 e->animation.offset_x = 0;
29 e->animation.offset_z = 0.1 * e->move.linear[0];
32 e->animation.low_limit = 0;
33 float show1 = e->render_value(e->animation);
37 e->pixel.blue = 40 - show1;
39 e->pixel = e->rgb_sanity_check(e->pixel);
40 e->setPixelColorInternal(
x,
y, e->pixel);
55 const fl::u8 *perm = PERLIN_NOISE;
57 e->run_default_oscillators();
58 e->timings.master_speed = 0.003;
59 e->calculate_oscillators(e->timings);
61 for (
int x = 0;
x < e->num_x;
x++) {
62 for (
int y = 0;
y < e->num_y;
y++) {
63 e->animation.dist = (e->distance[
x][
y] * e->distance[
x][
y]) / 2;
64 e->animation.angle = e->polar_theta[
x][
y];
66 e->animation.scale_x = 0.005;
67 e->animation.scale_y = 0.005;
69 e->animation.offset_y = -10 * e->move.linear[0];
70 e->animation.offset_x = 0;
71 e->animation.offset_z = 0.1 * e->move.linear[0];
74 e->animation.low_limit = 0;
79 e->pixel.blue = 40 - show1;
81 e->pixel = e->rgb_sanity_check(e->pixel);
82 e->setPixelColorInternal(
x,
y, e->pixel);
fl::unique_ptr< Engine > mEngine