Wow W.P., that posterizer has some great features. Thanks for the upload.
Even has Lloyds Algorithm (read a bit about it, but did not see it in action).
With the JavaScript version, I tried to convert to BGRAVirtualScreen, but it seems D3.js has some Voronoi seeded function and a random polygons function. I think I may have seen something like the JavaScript version, written in FreeBasic years ago called Fractured Glass.
Thanks W.P. for your nice upload. Very creative use of Voronoi and Delaunay.
Not sure if anyone else is getting an Invalid Operation error with the W.P program when using other images.
I get an error after clicking btnApplyLloydsAlgorithm here:
w[j] := w[j] / wsum ; in procedure TMainForm.LloydsAlgorithm;
Possibly because of a divide by zero error because wsum = 0 ?
I don't seem to get that error if I keep on using Lenna.png, but for any other png I get that error.