1.0.9 • Published 5 years ago

three-path-builder v1.0.9

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

ES6 NPM package for three.path Library. Full documentation you can find here: https://github.com/shawn0326/three.path#readme

Required 'three' npm package https://www.npmjs.com/package/three

Import:

import { PathBuilder } from 'three-path-builder';

Usage Example:

const pointsArr = [new THREE.Vector3(0, 0, 0), new THREE.Vector3(2, 2, 2)];

const pathBuilder = new PathBuilder();

const pathPointList = new pathBuilder.PathPointList();

pathPointList.set(pointsArr, cornerRadius, cornerSplit, false);

const geometry = new pathBuilder.PathTubeGeometry();

geometry.update(pathPointList, {
    radius: 0.75,
    radialSegments: 16,
    progress: 1
});```
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago