Skip to content

anim-format (runtime format) / flat3

Function: flat3() ​

ts
function flat3(m): number[];

a 2D affine as a 3D one; depth scales with the matrix's mean scale (a symbol scaled ×2 keeps its cubes cubes)

Parameters ​

ParameterType
mMatrix2D

Returns ​

number[]

HereSplash — 2D animation for the web