Skip to content

anim-format (runtime format) / cardMatrix

Function: cardMatrix() ​

ts
function cardMatrix(pose): number[];

A card's pose as a 3D map: its LOCAL (x, y, z) → its parent's 3D space (the same placement cardProjector draws).

Parameters ​

ParameterType
poseCardPose

Returns ​

number[]

HereSplash — 2D animation for the web