js3d
v0.1.2
Published
3D Math Library
Downloads
24
Maintainers
Readme
Js3D
A 3D Math Library for JavaScript. Js3D was built for high performance math computing. Many of JS features is not used due to performance issues.
Installation
Install Js3D with npm
npm install js3d
Usage/Examples
import { Vec2, vec2_init, vec2_init2 } from 'js3d'
const point1 = new Vec2;
vec2_init(point1, 2.0);
const point2 = new Vec2;
vec2_init2(point2, 2.0, 5.0);
const pointDistance = vec2_distance(v1, v2);
console.log(`The distance of these points is ${pointDistance}`)
Tech Stack
JavaScript, TypeScript
Author
Bruno Gallego - @bgsa
License
Support
I am an independent software engineer with MSc in Computer Graphics (Engineering). You can support my libraries with