KracyMath is a lightweight TypeScript library for 3D vector and matrix operations.
Install KracyMath via npm:
npm install KracyMath
Copy code
import { Vec3 } from 'KracyMath';
// Create vectors
const v1 = new Vec3(1, 2, 3);
const v2 = new Vec3(4, 5, 6);
// Vector addition
const result = v1.clone().add(v2);
console.log(result); // Output: Vec3 { x: 5, y: 7, z: 9 }
TODO (!)