Speed up emoji rain falling speed by 2x

This commit is contained in:
2026-09-21 12:34:03 +05:30
parent 1e75980fcf
commit 897e92fb81

View File

@@ -455,15 +455,15 @@
x: xr * W,
y: -35 * DPR,
vx: (isRight ? 0.3 : -0.3) + (Math.random() - 0.5) * 0.8 * DPR,
vy: (3.0 + Math.random() * 4.4) * DPR,
vy: (6.0 + Math.random() * 8.8) * DPR, // 2x faster
rot: (-20 + Math.random() * 40) * Math.PI / 180,
vr: (-0.02 + Math.random() * 0.04),
life: 1,
decay: 0.0035 + Math.random() * 0.0035,
decay: 0.007 + Math.random() * 0.007, // 2x faster decay
size: (18 + Math.random() * 12) * DPR,
emoji: list[(Math.random() * list.length) | 0],
swayPhase: Math.random() * Math.PI * 2,
swaySpeed: 0.028 + Math.random() * 0.025
swaySpeed: 0.056 + Math.random() * 0.050 // 2x faster sway
});
}
}