mzMath - a collection of TypeScript-based math helpers.


Keywords
math, mathematics, vector, matrix, angle, linear algebra, algebra, random, modulo, range, Bézier curve, Bézier, Bezier curve, Bezier, transformation matrix, rotation matrix, rotation, scale matrix, scale, system of equations, equation, translation matrix, reflection, reflection matrix, shearing, shearing matrix, css transform, color, derivatives, lerp, linear interpolation, collision detection, statistics, combinatorics, bezier-curves, collision-detection, convert-colors, css-transform, linear-algebra, system-of-equations, transformation-matrix
License
ICU
Install
npm install mz-math@3.0.26

Documentation

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


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