https://github.com/ros2jsguy/threejs-math
Stand-alone version of three.js Math library with TypeScript support
https://github.com/ros2jsguy/threejs-math
javascript linear-algebra math threejs typescript
Last synced: 4 months ago
JSON representation
Stand-alone version of three.js Math library with TypeScript support
- Host: GitHub
- URL: https://github.com/ros2jsguy/threejs-math
- Owner: ros2jsguy
- Created: 2022-08-16T13:35:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T21:28:35.000Z (over 3 years ago)
- Last Synced: 2025-09-16T04:50:20.687Z (10 months ago)
- Topics: javascript, linear-algebra, math, threejs, typescript
- Language: JavaScript
- Homepage:
- Size: 1.27 MB
- Stars: 25
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stand-alone TypeScript version of three.js math
This package is a standalone version of [three.js (r147) math](https://threejs.org/docs/#api/en/math/Box2) classes with TypeScript support and integrated TSdoc documentation.
* Box2
* Box3
* Color
* Cylindrical
* Euler
* Interpolant
* CubicInterpolant
* DiscreteInterpolant
* LinearInterpolant
* QuaternionInterpolant
* Line3
* MathUtils
* Matrix (interface)
* Matrix3
* Matrix4
* Plane
* Quaternion
* Ray
* Sphere
* Spherical
* Triangle
* Vector (interface)
* Vector2
* Vector3
* Vector4
# API Documentation
The classes in TSDoc format are available [here](https://ros2jsguy.github.io/threejs-math/index.html).
# History
This module started as a fork of [three-math-ts](https://github.com/chenhebing/three.math) which has been dormant for some time. After extending that project and PR's going unaddressed I've moved on and started a series of focused threejs based modules such as this threejs-math package.