<commit_before># Transform3d

3d transform operations and interpolation.

Some of the code was ported from [Chromium](https://code.google.com/p/chromium).

Supports all of the [w3c transform functions](http://www.w3.org/TR/css-transforms-1/#transform-functions).

Implements the [Interpolation of Transforms](http://www.w3.org/TR/css-transforms-1/#interpolation-of-transforms) logic from the w3c spec.

## Usage

```js
// First transform

var transform1 = new Transform3d;
transform1.rotate(45).scale(2);

element1.style.WebkitTransform = transform1; // applies Transform3d::toString()
element1.style.WebkitTransform = transform1.compose(); // applies Matrix3d::toString(), should have the same exact effect

// Second transform
<commit_msg>require!<commit_after># Transform3d

3d transform operations and interpolation.

Some of the code was ported from [Chromium](https://code.google.com/p/chromium).

Supports all of the [w3c transform functions](http://www.w3.org/TR/css-transforms-1/#transform-functions).

Implements the [Interpolation of Transforms](http://www.w3.org/TR/css-transforms-1/#interpolation-of-transforms) logic from the w3c spec.

## Usage

```js
var Transform3d = require('transform3d');

// First transform
var transform1 = new Transform3d;
transform1.rotate(45).scale(2);

element1.style.WebkitTransform = transform1; // applies Transform3d::toString()
element1.style.WebkitTransform = transform1.compose(); // applies Matrix3d::toString(), should have the same exact effect

// Second transform

{'fraction_non_alphanumeric': 0.1283739302172482, 'fraction_numerical': 0.027649769585253458, 'mean_word_length': 5.204081632653061, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6448907', 'n_tokens_mistral': 479, 'n_tokens_neox': 465, 'n_words': 117}