moveTo, arc, closePath draw each wedge while a cycling palette keeps neighbors from sharing a color

8 sectors · arc 45°

Drag to spin, release and it coasts

0° accumulated spin