https://github.com/patrick-s-young/three-catmull-rom-path-animation
Three.js demo using a Catmull-Rom path to translate a treadmill animation to a given target.
https://github.com/patrick-s-young/three-catmull-rom-path-animation
Last synced: 3 months ago
JSON representation
Three.js demo using a Catmull-Rom path to translate a treadmill animation to a given target.
- Host: GitHub
- URL: https://github.com/patrick-s-young/three-catmull-rom-path-animation
- Owner: patrick-s-young
- License: mit
- Created: 2023-05-17T22:18:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T02:12:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T23:43:12.560Z (4 months ago)
- Language: JavaScript
- Size: 20.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# three-catmull-rom-path-animation
Three.js demo using a Catmull-Rom path to translate a treadmill animation to a given target.## Progress Report
In addition to the path, the direction (tangent to the point along the curve) is needed to animate a character so that it rotates on its Y-axis as it walks along the curved. To test, arrows are placed over each rendered point along the curve. While the tangent slopes are working, the direction is not (the arrows flip from going toward the click point to away). Further tests are needed.https://github.com/patrick-s-young/three-catmull-rom-path-animation/assets/42591798/bb9aadb5-df7b-4f5f-9721-fea1fa108c18
## Authors* **Patrick Young** - [Patrick Young](https://github.com/patrick-s-young)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.