Spaces:
Sleeping
Sleeping
Download src/lib/VRMAnimation/utils/linearstep.ts from ratalai/chatvrm_for_desh: direct link, hf CLI and curl.
- Browser
- Download file 138 Bytes
-
https://huggingface.co/spaces/ratalai/chatvrm_for_desh/resolve/main/src/lib/VRMAnimation/utils/linearstep.ts
- Command line
-
hf download hf://spaces/ratalai/chatvrm_for_desh/src/lib/VRMAnimation/utils/linearstep.ts
-
curl -L -o linearstep.ts https://huggingface.co/spaces/ratalai/chatvrm_for_desh/resolve/main/src/lib/VRMAnimation/utils/linearstep.ts
138 Bytes
| import { saturate } from './saturate'; | |
| export const linearstep = (a: number, b: number, t: number) => ( | |
| saturate((t - a) / (b - a)) | |
| ); | |