For keyframe conversions
Methods
-
Convert serialized array into keyframes
"0x100y100 1x150"to:{ "0": {"x":100, "y": 100}, "1": {"x": 150} }Name Type Description keyframesString ResultingObject keyframes
-
Convert serialized shapes into draw commands for PIXI.Graphics.
Name Type Description strString ResultingArray shapes map
-
Fill frames with booleans of true (showing) and false (hidden).
Name Type Description timelinestartFrameint The start frame when the timeline shows up
durationint The length of showing
-
Convert the Hexidecimal string (e.g., "#fff") to uint
-
Upload all the textures and graphics to the GPU.
Name Type Description rendererPIXI.WebGLRenderer Render to upload to
clipPIXI.DisplayObject MovieClip to upload
donefunction When complete