You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After confetti starts, Chrome just freezes with no response for a couple of seconds. then gets back to normal. There is no error message or anything. My code is like this:
var end = Date.now() + (5 * 1000);
(function frame() {
confetti({
particleCount: 1,
angle: 60,
spread: 55,
scalar: 0.6,
shapes: [pumpkin],
origin: { x: 0, y:1 },
startVelocity: 150,
colors: ['#ff912a']
});
confetti({
particleCount: 1,
angle: 120,
spread: 55,
startVelocity: 150,
origin: { x: 1, y:1},
colors: ['#ffffff']
});
// keep going until we are out of time
if (Date.now() < end) {
requestAnimationFrame(frame);
return;
}
After confetti starts, Chrome just freezes with no response for a couple of seconds. then gets back to normal. There is no error message or anything. My code is like this:
I used below SVG shape as confetti:
The text was updated successfully, but these errors were encountered: