Spaces:
Running
Running
Download static/js/shared.js from Deshmukh09/evomind: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/Deshmukh09/evomind/resolve/main/static/js/shared.js
- Command line
-
hf download hf://spaces/Deshmukh09/evomind/static/js/shared.js
-
curl -L -o shared.js https://huggingface.co/spaces/Deshmukh09/evomind/resolve/main/static/js/shared.js
291 Bytes
| export const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches; | |
| export const clamp = (v, a, b) => Math.min(b, Math.max(a, v)); | |
| export const smooth = (a, b, v) => { const t = clamp((v - a) / (b - a), 0, 1); return t * t * (3 - 2 * t); }; | |
| export const flags = { paused: false }; | |