gsap-utils
GSAP motion · A camera move · MIT
- What it does
The helper functions on gsap.utils: clamp, mapRange, normalize, interpolate (numbers, colors, objects), random, snap, shuffle, distribute, getUnit, unitize, splitColor, selector, toArray, pipe, wrap, wrapYoyo. Most are pure functions that work without any GSAP clock, so they can be called straight from a Remotion component. random and shuffle are unseeded.
- Get it
npx skills add https://github.com/greensock/gsap-skills (installs all eight), or copy skills/gsap-utils/ into your agent's skills folder. Pattern: const toDeg = gsap.utils.mapRange(0, 1, 0, 360); toDeg(progress);
- Needs (the whole pack)
Nothing to read them. To run what they teach: the gsap package from npm, and @gsap/react for the React hook.
- License
MIT
- From