Demonstrates the If statement usage.
conditional_eq.gif | conditional_less_greater.gif |
| |
Greater"
Greater"
Greater"
Greater" |
#include "pixled.h"
#include "pixled/gif_output.h"
int main(int argc, char** argv) {
pixled::GifOutput out(256, pixled::FIT_WIDTH, 20, panel);
{
),
0
),
)
)
);
out.write(runtime, 100, "conditional_eq.gif");
}
{
)
);
out.write(runtime, 20, "conditional_less_greater.gif");
}
}
Definition: animation.h:154
Definition: conditional.h:33
Definition: geometry.h:13
Definition: geometry.h:27
Definition: mapping.h:150
static color RED
Definition: chroma.h:56
static color BLUE
Definition: chroma.h:64
static color GREEN
Definition: chroma.h:60
Definition: animation.cpp:3