A bar as a circle: N steps round a ring, the struck ones lit, joined into the polygon that IS the pattern β a lopsided triangle for the tresillo, a square for four on the floor, the same shape turned when you rotate it. Velocity is node size and brightness both, accent is its own outline ring, group ticks sit outside the ring and the downbeat carries a lit one. The playhead is a prop, fractional for a smooth sweep, because the host owns the clock. Read-only it draws a generated pattern; add onToggle and every node becomes a keyboard-reachable toggle that wraps round the ring the way the bar does.
pnpm dlx shadcn@latest add "https://pluginui.com/r/core-rhythm-wheel.json"