From ce7526ae1b04f635943fbd744109f301d90b26a5 Mon Sep 17 00:00:00 2001 From: dewanakl Date: Thu, 14 Mar 2024 15:57:33 +0700 Subject: [PATCH] feat: improve confetti --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index bad2173..b301b7f 100644 --- a/js/app.js +++ b/js/app.js @@ -185,7 +185,7 @@ const util = (() => { confetti({ particleCount: 1, startVelocity: 0, - ticks: Math.max(50, 100 * (timeLeft / duration)), + ticks: Math.max(50, 75 * (timeLeft / duration)), origin: { x: Math.random(), y: Math.abs(Math.random() - (timeLeft / duration)),