Spaces:
Running
Running
Download backend/libs/three/animation/tracks/StringKeyframeTrack.js from k-l-lambda/starry: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/animation/tracks/StringKeyframeTrack.js
- Command line
-
hf download hf://spaces/k-l-lambda/starry/backend/libs/three/animation/tracks/StringKeyframeTrack.js
-
curl -L -o StringKeyframeTrack.js https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/animation/tracks/StringKeyframeTrack.js
575 Bytes
| import { InterpolateDiscrete } from '../../constants.js'; | |
| import { KeyframeTrack } from '../KeyframeTrack.js'; | |
| /** | |
| * A Track that interpolates Strings | |
| */ | |
| class StringKeyframeTrack extends KeyframeTrack {} | |
| StringKeyframeTrack.prototype.ValueTypeName = 'string'; | |
| StringKeyframeTrack.prototype.ValueBufferType = Array; | |
| StringKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete; | |
| StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined; | |
| StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined; | |
| export { StringKeyframeTrack }; | |