Skip to content

Instantly share code, notes, and snippets.

@tooandflow
tooandflow / easing.py
Created October 27, 2015 20:26 — forked from th0ma5w/easing.py
Easing Equations in Python (orig by Robert Penner)
# ported from http://www.gizma.com/easing/
# by http://th0ma5w.github.io
#
# untested :P
import math
linearTween = lambda t, b, c, d : c*t/d + b