Skip to content

anim-format (runtime format) / MarkerMatrix

Type Alias: MarkerMatrix ​

ts
type MarkerMatrix = 
  | readonly [number, number, number, number, number, number]
  | readonly number[];

an affine matrix [a, b, c, d, tx, ty]: x' = a·x + c·y + tx, y' = b·x + d·y + ty

HereSplash — 2D animation for the web