Skip to content
G

greensock/gsap-utils

Utility functions like clamp, mapRange, interpolate, snap, selector, and wrap

Open source

Star
#12742in AI Skills
0In stores

Description

gsap-utils is an agent skill from the GSAP project for gsap.utils, the set of math and collection helpers built into GSAP. It covers clampin…

Highlights

  • clamp, mapRange, normalize and interpolate
  • snap and wrap for grids and loops
  • Random values for staggered effects
  • selector() scoped to a container
  • Reusable functions when value is omitted

Ratings & Reviews

No ratings yet

Be the first to rate greensock/gsap-utils.

People also visit

G

gsap-utils

Official GSAP skill for gsap.utils

AI Skills
Get
G

gsap-utils

Pure utility functions for math, value mapping, randomization, array handling

AI Skills
Get
G

gsap-core

Official GSAP skill for the core API

AI Skills
Get
G

gsap-skills (repo)

Official GSAP guidance: patterns, plugins and best practices

AI Skills
Get
G

gsap-scrolltrigger

Comprehensive skill for GSAP

AI Skills
Get
G

gsap

GSAP animation reference for HyperFrames compositions

AI Skills
Get

greensock/gsap-utils FAQ

What is gsap.utils?

A collection of math and collection helpers built into GSAP, such as clamp, mapRange, snap and wrap.

How do I install it?

Run npx skills add https://github.com/greensock/gsap-skills --skill gsap-utils.

Can I use them without an animation?

Yes. The page says the utilities work standalone, and return reusable functions when the value argument is omitted.

Why not write my own clamp?

The page says gsap.utils stays in sync with GSAP's value handling, avoiding unit mismatches and off-by-one errors.

Who publishes it?

The GSAP project, in its gsap-skills repository on GitHub. The page lists the skill as community.

What are the best greensock/gsap-utils alternatives?

Popular alternatives to greensock/gsap-utils include gsap-utils, gsap-utils and gsap-core. See all greensock/gsap-utils alternatives

Developer Stuff

Badges