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