Math for origami
This project repository has moved to https://github.com/robbykraft/Origami
This repository is no longer updated. This module has been absorbed into the main Rabbit Ear repository inside
src/math/
.
This is the math engine for an origami library. It has no dependencies, and it's small. It includes basic linear algebra, geometric intersections with an inclusive or exclusive epsilon, and a few other computational geometry related things.
usage
This library is bundled into one file, available in a few formats. Use these as a CDN:
UMD
https://robbykraft.github.io/Math/math.js
ES6
https://robbykraft.github.io/Math/math.module.js
This library is also included in Rabbit Ear.
examples
One example is included in this repository, at examples/intersection
.
Many more examples can be found in the Rabbit Ear documentation
license
MIT