agglomerative-clustering
The image is clustered once. Every palette size is a cut of that one hierarchy, so dragging the colours slider or the dithering strength never re-clusters: it only cuts the hierarchy and maps the pixels. Changing the colour space or precision clusters again.
Image-
Distinct colours-
Clustering (once)-
Cut + map, this k-
Images are scaled to at most 1024 px on their longest side.