launcher/sys.py/libs/easing.py
2018-05-25 20:36:46 +08:00

8 lines
89 B
Python

import math
def SineIn(t, b, c, d):
return -c * math.cos(t/d * (math.pi/2)) + c + b