gsap-utils
gsap.utils 工具函数技能——clamp、mapRange、normalize、interpolate、random、snap、wrap、toArray 等纯函数。做滚动位置到动画进度映射、随机值、网格吸附时用,省略值参数可返回可复用函数。
技能介绍
gsap.utils 工具函数技能——clamp、mapRange、normalize、interpolate、random、snap、wrap、toArray 等纯函数。做滚动位置到动画进度映射、随机值、网格吸附时用,省略值参数可返回可复用函数。
适用对象
适合需要creative能力、并希望先了解条目用途再决定是否安装的技能用户。
资料中明确的能力与使用场景
- utils 工具函数技能——clamp、mapRange、normalize、interpolate、random、snap、wrap、toArray 等纯函数
- 做滚动位置到动画进度映射、随机值、网格吸附时用,省略值参数可返回可复用函数
- Official GSAP skill for gsap
详细说明
Official GSAP skill for gsap.utils — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe. Use when the user asks about gsap.utils, clamp, mapRange, random, snap, toArray, wrap, or helper utilities in GSAP.
分类与标签
分类:creative · creative
相关入口
限制与注意事项
当前条目资料未提供独立的版本兼容性、参数表或完整测试报告;未列出的系统、依赖、权限与功能边界,请以官方入口的 README 和实际环境为准。