@iortho/matrix2d
v0.2.1
Published
CSS tranform-2D matrix
Downloads
9
Readme
CSS tranform-2D matrix
Install
npm install @iortho/matrix2d
Usage
import Matrix2D from '@iortho/matrix2d';
Quick Start
import Matrix2D from '@iortho/matrix2d';
let mat1 = new Matrix2D(1, 0, 0, 1, 0, 0); // matrix(1,0,0,1,0,0)
let mat2 = mat1.lmul([-1, 0, 0, -1, 0, 0]); // matrix(-1,0,0,-1,0,0)
API
Comming soom...