Frames of one animation, lined up and written as a .pic.
align/2 puts a set of pictures on one canvas, each standing on the same floor and
lined up by the body above it rather than by its own box, so a stride that reaches wide
does not shift the whole figure sideways. to_pic/3 reduces them to one shared palette
and gives the .pic text.
Summary
Functions
Every picture cropped to what it holds and placed on one canvas.
The .pic text for frames, all reduced to one palette of at most colours entries.
Functions
@spec align([FrenchCurve.Raster.t()], keyword()) :: [FrenchCurve.Raster.t()]
Every picture cropped to what it holds and placed on one canvas.
Options
:alpha— the alpha at or above which a pixel counts. Default16:anchor— the fraction of a picture's height, from the top, whose middle the pictures are lined up by. Default0.35, which is the head and chest of a figure
@spec to_pic([FrenchCurve.Raster.t()], pos_integer(), non_neg_integer()) :: String.t()
The .pic text for frames, all reduced to one palette of at most colours entries.
A pixel whose alpha is under alpha is written as a clear cell.