Skip to content

anim-format (runtime format) / Matrix

Type Alias: Matrix ​

ts
type Matrix = [number, number, number, number, number, number];

[a, b, c, d, tx, ty] — x' = ax + cy + tx, y' = bx + dy + ty

HereSplash — 2D animation for the web