A (relatively advanced) pixled::signal::Triangle example. But the Triangle function can be used exactly the same way as Sine, so also see the pixled/signal/sine.cpp example.
insane_triangle_ratial_t.gif |
|
#include "pixled.h"
#include "pixled/gif_output.h"
int main(int argc, char** argv) {
pixled::GifOutput out(256, pixled::FIT_WIDTH, 20, panel);
{
1.0,
pixled::Cast<coordinate>(center_x),
)
)
/ 8.f
))
);
out.write(runtime, 60, "insane_triangle_radial_t.gif");
}
}
Definition: animation.h:88
Definition: geometry.h:57
Definition: geometry.h:91
Definition: geometry.h:13
Definition: geometry.h:27
Definition: mapping.h:150
Definition: animation.cpp:3