Skip to content

Instantly share code, notes, and snippets.

@kingjulian1script
Created October 16, 2015 03:20
Show Gist options
  • Save kingjulian1script/1e7cbe3956f82e4925db to your computer and use it in GitHub Desktop.
Save kingjulian1script/1e7cbe3956f82e4925db to your computer and use it in GitHub Desktop.
-- linear interpolation
lerping = {}
function sleep(arg0)
os.execute("sleep "..tonumber(arg0))
end
function lerping.lerp(o,g,t)
sleep(t)
o = g
return o
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment