AFLOW-46-ui-duplication #1

Merged
grey merged 5 commits from AFLOW-46-ui-duplication into master 2024-06-19 18:34:40 +02:00
Showing only changes of commit 77448a7401 - Show all commits

View File

@ -0,0 +1,13 @@
function randomInRange(min, max) {
return Math.random() * (max - min) + min;
}
function doTheConfetti() {
// Create confetti
confetti({
angle: randomInRange(90, 110),
spread: randomInRange(70, 120),
particleCount: randomInRange(100, 200),
origin: { y: 0.6, x: randomInRange(0.4, 0.8) },
});
}