{/* bubbles */}
{p.bubbles &&
Array.from({length: 10}, (_, i) => {
const t0 = rnd(i, 1) * 2.2;
const k = p01(t, t0, t0 + 2.4);
if (k <= 0 || k >= 1) return null;
const s = 26 + rnd(i, 2) * 44;
const x = 60 + rnd(i, 3) * (W - 120) + Math.sin(k * 6 + i) * 18;
const y = H - 40 - k * (H - 20);
return (
);
})}
{/* ripple */}
{ripple > 0 && ripple < 1 && (
)}
{/* the jelly button */}
{/* glassy top highlight */}
{done ? p.done : p.label}
{/* sparkle flare on the gloss */}
0.9 ? 0.8 : 0}} />
{cin > 0 && cout < 1 && }
);
};
export const meta = {id: 'LibY2kAqua', component: Y2kAqua, defaults: aquaDefaults};