Skip to content

Commit

Permalink
feat: improve confetti
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Mar 14, 2024
1 parent b2cbda0 commit ce7526a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit ce7526a

Please sign in to comment.