animate
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user