/mz-math

mzMath - a collection of typescript-based math helpers.

Primary LanguageTypeScriptOtherNOASSERTION

mzMath - a collection of TypeScript-based math helpers 🚀

GitHub package.json version NPM

This project is a collection of TypeScript math helpers and utilities for the browser and Node.js. The modular approach allows to select only the required functions. It works well with all modern bundlers and supports tree shaking 🌲. The library is built using immutable/pure functions.

Documentation 🔖

Main

Vectors

Matrix

Matrix Manipulation

Transformation Matrices

Angles

Random

Bezier Curve

Equations

Path Movement

Color

Linear Interpolation

Derivatives

Collision Detection

Animation

Circle And Ellipse

Sequence

Combinatorics

Other


 _______  _______  _______  _______ _________         
(       )/ ___   )(       )(  ___  )\__   __/|\     /|
| () () |\/   )  || () () || (   ) |   ) (   | )   ( |
| || || |    /   )| || || || (___) |   | |   | (___) |
| |(_)| |   /   / | |(_)| ||  ___  |   | |   |  ___  |
| |   | |  /   /  | |   | || (   ) |   | |   | (   ) |
| )   ( | /   (_/\| )   ( || )   ( |   | |   | )   ( |
|/     \|(_______/|/     \||/     \|   )_(   |/     \|