https://github.com/needle-tools/three-animation-pointer
KHR_animation_pointer support for three.js
https://github.com/needle-tools/three-animation-pointer
animation khr khronos threejs webdev webgl
Last synced: 10 months ago
JSON representation
KHR_animation_pointer support for three.js
- Host: GitHub
- URL: https://github.com/needle-tools/three-animation-pointer
- Owner: needle-tools
- License: mit
- Created: 2025-08-27T08:43:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-27T14:30:49.000Z (10 months ago)
- Last Synced: 2025-08-27T17:54:02.263Z (10 months ago)
- Topics: animation, khr, khronos, threejs, webdev, webgl
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@needle-tools/three-animation-pointer
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# KHR_animation_pointer for three.js
This package adds a [three.js](https://github.com/mrdoob/three.js) GLTFLoader plugin for [KHR_animation_pointer](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer) support.
### Usage
Install the package:
`npm i @needle-tools/three-animation-pointer`
Register the plugin on your GLTFLoader:
```js
import { GLTFAnimationPointerExtension } from "@needle-tools/three-animation-pointer"
const loader = new GLTFLoader();
loader.register(p => {
return new GLTFAnimationPointerExtension(p);
});
```
## Links
- [Khronos KHR_animation_pointer spec](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer)
- [three.js repository PR #24108](https://github.com/mrdoob/three.js/pull/24108)
# Contact ✒️
[🌵 Needle](https://needle.tools) •
[Github](https://github.com/needle-tools) •
[Twitter](https://twitter.com/NeedleTools) •
[Discord](https://discord.needle.tools) •
[Forum](https://forum.needle.tools) •
[Youtube](https://www.youtube.com/@needle-tools)