From f4aa521b6bacb035a8310d958ef7c304a48a8b32 Mon Sep 17 00:00:00 2001 From: Philip Wagner Date: Sun, 1 Sep 2024 11:20:25 +0200 Subject: [PATCH] animate --- site/templates/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/templates/home.php b/site/templates/home.php index dd2ac6d..d20ac39 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -47,7 +47,7 @@ function resizeCanvas() { const ctx = setupCanvas(canvas) drawBackground(ctx, canvas) - // interval = setInterval(() => drawBackground(ctx, canvas), 1000) + interval = setInterval(() => drawBackground(ctx, canvas), 1000) } // white, pink, green, lila, orange, black const colors = ["#f1edeb", "#ff00ff", "#48bd8d", "#8200ff", "#ff6700", "#000000"]