A pixled::animation::Sequence usage example.
sequence.gif |
|
#include "pixled.h"
#include "pixled/gif_output.h"
int main(int argc, char** argv) {
pixled::GifOutput out(256, pixled::FIT_WIDTH, 20, panel);
{pixled::RED, 10},
{pixled::GREEN, 10},
{pixled::BLUE, 10}
});
{anim1, 20},
{anim2, 20},
{anim3, 40},
{anim2, 40}
});
out.write(runtime, 120, "sequence.gif");
}
Definition: animation.h:154
Definition: animation.h:123
Definition: animation.h:198
Definition: mapping.h:150
Definition: geometry.h:23