Compute tangents for a path of 3D points.

npm install path-tangents
import pathTangents from "path-tangents";
const isClosed = true;
const tangents = pathTangents(path, isClosed);
Array.<vec3>Compute tangents for a path of 3D points.
Array.<number>Array.<vec3>Compute tangents for a path of 3D points.
Kind: global function
| Param | Type | Default | Description |
|---|---|---|---|
| path | Array.<vec3> |
Array of 3D points [x, y, z]. | |
| [isClosed] | boolean |
false |
Specify if the path is closed. |
Array.<number>Kind: global typedef
MIT. See license file.