Make waitTime global and shorten it
Since no one is noticing it :(
This commit is contained in:
parent
d0bb311f25
commit
2ebf289ca3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user