npm package: @ff0000-ad-tech/ad-geom
Description: [![npm (tag)](https://img.shields.io/npm/v/@ff0000-ad-tech%2Fad-geom.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-geom) [![GitHub issues](https://img.shields.io/github/issues/ff0000-ad-tech/ad-geom.svg?style=flat-square)](htt
Author: RED Interactive Agency
Latest version: 1.3.2

##### RED Interactive Agency - Ad Technology

[![npm (tag)](https://img.shields.io/npm/v/@ff0000-ad-tech%2Fad-geom.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-geom)
[![GitHub issues](https://img.shields.io/github/issues/ff0000-ad-tech/ad-geom.svg?style=flat-square)](https://github.com/ff0000-ad-tech/ad-geom)
[![npm downloads](https://img.shields.io/npm/dm/@ff0000-ad-tech%2Fad-geom.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-geom)

[![GitHub contributors](https://img.shields.io/github/contributors/ff0000-ad-tech/ad-geom.svg?style=flat-square)](https://github.com/ff0000-ad-tech/ad-geom/graphs/contributors/)
[![GitHub commit-activity](https://img.shields.io/github/commit-activity/y/ff0000-ad-tech/ad-geom.svg?style=flat-square)](https://github.com/ff0000-ad-tech/ad-geom/commits/master)
[![npm license](https://img.shields.io/npm/l/@ff0000-ad-tech%2Fad-geom.svg?style=flat-square)](https://github.com/ff0000-ad-tech/ad-geom/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

* * *

# ad-geom

A package of utilities for point transformation and manipulation; handling the leg work of matrix and vector maths.

## API 

## <a name="Matrix2D" href="./docs/Matrix2D.md">Matrix2D</a>
* new Matrix2D()
* <a href="./docs/Matrix2D.md#Matrix2D.clear">.clear()</a>
* <a href="./docs/Matrix2D.md#Matrix2D.rotate">.rotate(radians)</a> ⇒ <code>Matrix2D</code>
* <a href="./docs/Matrix2D.md#Matrix2D.rotate">.rotate(x, y)</a> ⇒ <code>Matrix2D</code>
* <a href="./docs/Matrix2D.md#Matrix2D.skew">.skew(ax, ay)</a> ⇒ <code>Matrix2D</code>
* <a href="./docs/Matrix2D.md#Matrix2D.translate">.translate(x, y)</a> ⇒ <code>Matrix2D</code>
* <a href="./docs/Matrix2D.md#Matrix2D.getCss">.getCss()</a> ⇒ <code>String</code>
* <a href="./docs/Matrix2D.md#Matrix2D.getX">.getX()</a> ⇒ <code>Number</code>
* <a href="./docs/Matrix2D.md#Matrix2D.getY">.getY()</a> ⇒ <code>Number</code>
* <a href="./docs/Matrix2D.md#Matrix2D.setFromCss">.setFromCss(matrixString)</a>
## <a name="Matrix3D" href="./docs/Matrix3D.md">Matrix3D</a>
* new Matrix3D()
* <a href="./docs/Matrix3D.md#Matrix3D.clear">.clear()</a>
* <a href="./docs/Matrix3D.md#Matrix3D.rotateX">.rotateX(radians)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.rotateY">.rotateY(radians)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.rotateY">.rotateY(radians)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.rotate">.rotate(x, y)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.skew">.skew(ax, ay)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.translate">.translate(x, y, z)</a> ⇒ <code>Matrix3D</code>
* <a href="./docs/Matrix3D.md#Matrix3D.getCss">.getCss()</a> ⇒ <code>String</code>
* <a href="./docs/Matrix3D.md#Matrix3D.getX">.getX()</a> ⇒ <code>Number</code>
* <a href="./docs/Matrix3D.md#Matrix3D.getY">.getY()</a> ⇒ <code>Number</code>
* <a href="./docs/Matrix3D.md#Matrix3D.getY">.getY()</a> ⇒ <code>Number</code>
* <a href="./docs/Matrix3D.md#Matrix3D.setFromCss">.setFromCss(matrixString)</a>
## <a name="ParentTransform" href="./docs/ParentTransform.md">ParentTransform</a>
* new ParentTransform()
* <a href="./docs/ParentTransform.md#ParentTransform.update">.update(callback)</a> ⇒ <code>Array</code>
## <a name="SimpleNoise2D" href="./docs/SimpleNoise2D.md">SimpleNoise2D</a>
* new SimpleNoise2D()
* <a href="./docs/SimpleNoise2D.md#SimpleNoise2D.get">.get(x, y)</a> ⇒ <code>Vector2D</code>
## <a name="Vector2D" href="./docs/Vector2D.md">Vector2D</a>
* new Vector2D(x, y)
* <a href="./docs/Vector2D.md#Vector2D.add">.add(v)</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.sub">.sub(v)</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.dist">.dist(v)</a> ⇒ <code>number</code>
* <a href="./docs/Vector2D.md#Vector2D.mult">.mult(s)</a>
* <a href="./docs/Vector2D.md#Vector2D.div">.div(s)</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.limit">.limit(s)</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.length">.length()</a> ⇒ <code>Number</code>
* <a href="./docs/Vector2D.md#Vector2D.normalize">.normalize()</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.clone">.clone()</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.degreeToVector">.degreeToVector()</a> ⇒ <code>Vector2D</code>
* <a href="./docs/Vector2D.md#Vector2D.random">.random(degreeIncrement)</a> ⇒ <code>Vector2D</code>


* * *