@iortho/matrix2d

0.2.1 • Public • Published

CSS tranform-2D matrix

Source Code 👉

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...

License

MIT 👉

/@iortho/matrix2d/

    Package Sidebar

    Install

    npm i @iortho/matrix2d

    Weekly Downloads

    3

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    39.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • oyzhen