Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.18 kb
def lerp(i, speed, start, end, smooth = True):
speed -= 1
p = 1.0/speed*i
if smooth:
p = ((p) * (p) * (3 - 2 * (p)))
return start + (end - start) * p
Jump to Line
Something went wrong with that request. Please try again.