正在加载视频...
视频加载失败
Realized mapping on this isn't using a sine curve 🤦♂️ JavaScript map could be more like this ✨ // Map distance against 0deg-90deg const mapper = gsap.utils.mapRange(250, 50, 0, 90) // Clamp that value and convert to radians and run through Math.sin 🤙 const active = Math.sin( gsap.utils.clamp( 0,... show more
54,267 次观看 • 3 年前 •via X (Twitter)
0 条评论
暂无评论
原始帖子的评论将显示在这里

