A basic pixled::animation::Rainbow usage example.
rainbow.gif | rainbow_dyn_b.gif |
| |
#include "pixled.h"
#include "pixled/gif_output.h"
int main(int argc, char** argv) {
pixled::GifOutput out(256, pixled::FIT_WIDTH, 20, panel);
{
out.write(runtime, 40, "rainbow.gif");
}
{
1.0,
);
out.write(runtime, 40, "rainbow_dyn_b.gif");
}
}
Definition: animation.h:88
Definition: animation.h:30
Definition: mapping.h:150