# three-path-builder

> path builder based on three.js library

Latest version **1.0.9** (published 2019-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install three-path-builder
pnpm add three-path-builder
yarn add three-path-builder
bun add three-path-builder
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-03-01 |
| First published | 2018-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 155 |
| Author | Shawn Xie |
| Maintainers | kyrylovdm |
| Keywords | three, path, builder, tubegeometry, threejs |

## Links

- npm: https://www.npmjs.com/package/three-path-builder
- Repository: https://github.com/shawn0326/three.path
- Homepage: https://github.com/shawn0326/three.path#readme
- Issues: https://github.com/shawn0326/three.path/issues
- npm.io page: https://npm.io/package/three-path-builder

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.9 (latest) — 2019-03-01
- 1.0.8 — 2019-03-01
- 1.0.7 — 2019-03-01
- 1.0.6 — 2019-03-01
- 1.0.5 — 2019-03-01
- 1.0.4 — 2018-12-19
- 1.0.3 — 2018-12-19
- 1.0.2 — 2018-12-19
- 1.0.1 — 2018-12-19
- 1.0.0 — 2018-12-19

## README

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
});```

---
_Source: https://npm.io/package/three-path-builder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
