A tool for making line animations.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Makefile
README.md
screenshot.png
vendor.tar.gz

README.md

Linebaby

Screenshot

Manual at itch.io

Exporting GIFs

mogrify -format gif -alpha remove -background white *.png
gifisicle --delay 4 --loopcount forever --output out.gif *.gif

File Format

Little-endian / lazy-endian

Data Size Description
LINE 4 magic bytes
u32 4 version
float 4 timeline duration
bool 1 artboard set
vec2 4 × 2 artboard area top corner
vec2 4 × 2 artboard area bottom corner
bool 1 export range set
float 4 export range begin
float 4 export range duration
float 4 export fps
u32 4 stroke count
LB_STROKE ? strokes

LB_STROKE

Data Size Description
float 4 global start time
float 4 full duration
float 4 scale
vec4 4 × 4 color
float 4 jitter
u32 4 enter animation method
u32 4 enter easing method
float 4 enter duration
bool 1 enter draw reverse
u32 4 exit animation method
u32 4 exit easing method
float 4 exit duration
bool 1 exit draw reverse
u16 2 vertex count
LB_BEZIER_VERTEX ? vertices

LB_BEZIER_VERTEX

Data Size Description
vec2 4 × 2 anchor
vec2 4 × 2 handle 1
vec2 4 × 2 handle 2