playcanvas / playcanvas/engine
Would like more functionality in the Curve class to help with creating paths
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
The following functions from three.js curve library would help with path creation:
https://threejs.org/docs/index.html#api/en/extras/core/Curve.getPointAt
https://threejs.org/docs/index.html#api/en/extras/core/Curve.getTangent
https://threejs.org/docs/index.html#api/en/extras/core/Curve.getTangentAt
https://threejs.org/docs/index.html#api/en/extras/core/Curve.getLength
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Curve class and compare its available path-related methods with the four three.js Curve APIs linked in the issue. Done means the requested getPointAt, getTangent, getTangentAt, and getLength functionality is available and behaves consistently with the intended Curve API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100