📜  2 点之间的缓和 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:57.189000             🧑  作者: Mango

代码示例1
p = p1 + (p2 - p1) * t;
// With easing:
p = p1 + (p2 - p1) * EaseFunction(t);