SpriteAnim
Functions to create Primum animations from varying sources.
make(path)
gif(path)
Convert a gif.
strip(path, frames, time=0.05)
Given a path and number of frames, converts a horizontal strip animation, where each cell is the same width.
aseprite(path)
Given an aseprite json metadata, returns an object of animations defined in the aseprite file.
validate(anim)
find(path)
Given a path, find the relevant animation for the file.