Improved color order for animation

master
David Peer 2022-05-07 17:24:38 +02:00
parent 521fd4cb8f
commit a97215860a
1 changed files with 5 additions and 7 deletions

View File

@ -116,16 +116,14 @@ function drawAnimated(){
// Animate draw through different colors
speed = 25;
setTimeout(function() {
_draw(false, 1);
_draw(false, 2);
setTimeout(function() {
_draw(false, 2);
_draw(false, 3);
setTimeout(function() {
_draw(false, 3);
setTimeout(
function(){
_draw(false, 1);
setTimeout(function(){
_draw(false, 0);
}
), speed;
}, speed);
}, speed);
}, speed);
}, speed);