37 lines
784 B
C
37 lines
784 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <animation.h>
|
|
|
|
int main (void) {
|
|
{
|
|
time_line_t line = time_line_new(0, 0, 15, 10);
|
|
time_line_print(&line);
|
|
for (int i = 0; i < 15; i++) {
|
|
time_line_next(&line);
|
|
time_line_print(&line);
|
|
}
|
|
}
|
|
|
|
printf("\n");
|
|
|
|
{
|
|
time_line_t line = time_line_new(0, 0, 15, 25);
|
|
time_line_print(&line);
|
|
for (int i = 0; i < 15; i++) {
|
|
time_line_next(&line);
|
|
time_line_print(&line);
|
|
}
|
|
}
|
|
|
|
printf("\n");
|
|
|
|
{
|
|
time_line_t line = time_line_new(0, 0, 10, 255);
|
|
time_line_print(&line);
|
|
for (int i = 0; i < 10; i++) {
|
|
time_line_next(&line);
|
|
time_line_print(&line);
|
|
}
|
|
}
|
|
}
|