Make waitTime global and shorten it

Since no one is noticing it :(
This commit is contained in:
Tyler Hallada 2014-07-31 15:10:18 -04:00
parent d0bb311f25
commit 2ebf289ca3

View File

@ -7,6 +7,9 @@ window.onload = function () {
// load-up) // load-up)
var counting = true; var counting = true;
// The amount of time to wait (in number of animate() calls)
var waitTime = 20;
// How fast to draw the spells // How fast to draw the spells
var step = 0.2; var step = 0.2;
@ -171,7 +174,6 @@ window.onload = function () {
AnimationFrame.shim(); AnimationFrame.shim();
var animationFrame = new AnimationFrame(30), var animationFrame = new AnimationFrame(30),
timeCounter = 0, timeCounter = 0,
waitTime = 50,
color, color,
gradient; gradient;
context.lineWidth = 0.5; context.lineWidth = 0.5;