{p.title}
{p.rows.map((r, i) => {
const k = outE(p01(t, 0.18 + i * 0.09, 0.62 + i * 0.09));
const isT = i === target;
const on = isT ? swE : r.on ? 1 : 0;
const stretch = isT ? Math.sin(sw * Math.PI) * 16 : 0;
const kx = lerp(rtl ? TW - KN - 5 : 5, rtl ? 5 : TW - KN - 5, on) - stretch * (rtl ? 1 - on : on);
return (
{i > 0 &&
}
{r.label}
{/* the switch */}
);
})}
);
};
const R = Math.hypot(W, H) * 1.05 * flip;
return (