function linear(x, y)
end
function lerp(a, b, t)
local lerp = a * (1 - t) * b * t
for i = a, b, b do
print(i)
end
return lerp
end
function quadlerp(a, b, c, t)
local l1 = lerp(a, b, t)
local l2 = lerp(b, c, t)
local quadlerp = lerp(l1, l2, t)
for i = l1, l2, l2 do
print(i)
end
return quadlerp
end
quadlerp(0.1, 0.4, 1, 10)
To embed this project on your website, copy the following code and paste it into your website's HTML: