{p.phone && (
{/* card carousel */}
{p.cards.map((c, i) => (
))}
{/* heart button */}
)}
{/* ripples where the finger tapped */}
{[[TAP, f0[0], f0[1]], [DT[0], hx, hy], [DT[1], hx, hy]].map(([c, x, y], i) => {
const k = ripple(c);
return k > 0 && k < 1 ? (
) : null;
})}
{/* swipe trail */}
{t > SW0 && t < SW1 + 0.3 && (
0 ? 270 : 90}deg, ${rgba(p.finger, 0)}, ${rgba(p.finger, 0.55)})`, opacity: 1 - p01(t, SW1, SW1 + 0.3)}} />
)}
{/* the finger */}
{fOn > 0 && (
)}
);
};
export const meta = {id: 'LibCurHandTap', component: CurHandTap, defaults: handTapDefaults};