diff --git a/index.html b/index.html index 6e57a09..939a8b1 100644 --- a/index.html +++ b/index.html @@ -469,7 +469,7 @@ end
fader = Interpolator(5, function(frac, r,g,b)
+ fader = Timer.Interpolator(5, function(frac, r,g,b)
love.graphics.setBackgroundColor(frac*r,frac*g,frac*b)
end)
@@ -502,7 +502,7 @@ end
mover = Oscillator(10, function(frac)
+ mover = Timer.Oscillator(10, function(frac)
return 400 + 300 * math.sin(2*math.pi*frac)
end)