{"repo":"chrvadala/transformation-matrix","free":true,"listed":false,"github":"https://github.com/chrvadala/transformation-matrix","clone":"git clone https://github.com/chrvadala/transformation-matrix.git","description":"Javascript isomorphic 2D affine transformations written in ES6 syntax. Manipulate transformation matrices with this totally tested library!","language":"JavaScript","stars":387,"topics":["transformation-matrix","2d-transformations","three-shaking","scale","zoom","translate","transform","matrix"],"license":"MIT","category":"chat-messaging","readme_excerpt":"transformation-matrix Javascript isomorphic 2D affine transformations written in ES6 syntax. Manipulate transformation matrices with this totally tested library! Features Transformations, i.e. linear invertible automorphisms , are used to map a picture into another one with different size, position and orientation. Given a basis, transformations are represented by means of squared invertible matrices, called transformation matrices . A geometric transformation is defined as a one-to-one mapping of a point space to itself, which preservers some geometric relations of figures. - Geometric Programming for Computer Aided Design This library allows us to: - generate transformation matrices for the following operations: translation , rotation , scale , shear , skew - merge multiple transformation matrices in a single matrix that is the composition of multiple matrices - work with strings in both directions: parse , render - apply a transformation matrix to point(s) - decompose a matrix into translation, scaling and rotation components, with flip decomposition support Documentation - How to handle gestures with transformation-matrix - APIs - Basic Operations - identity() - flipX() - flipY() - flipOrigin() - [ rotate(angle, [cx], [cy]) ](https://github.com/chrvadala/transformation-matrix/blob/main/docs/api.md#rotate) - [ rotateDEG(angle, [cx], [cy]) ](https://github.com/chrvadala/transformation-matrix/blob/main/docs/api.md#rotateDEG) - [ scale(sx, [sy], [cx], [cy]) ](https://github.c","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrvadala","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrvadala/transformation-matrix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}