Mathio 🚀️
A lightweight, simple and straight-forward opinionated library for math used in other projects.
Current features are:
- Fractions
- Tweening
- Periods
=== Examples ===
Fractions
Great for expressing lossless floats
use Fraction;
let frac_1 = new;
let frac_2 = new;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Periods
Good for clamping repeating values (angles, sin/cosine, etc.)
let period = 360.0;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
=== Licensing ===
Released under both APACHE and MIT licenses. Pick one that suits you the most!