VOCC / vocc

A web-based Gameboy Advance image editor and converter
9 stars 5 forks source link

Create a Requantize algorithm #22

Closed bhillier3 closed 4 years ago

lbussell commented 4 years ago

The source code for Usenti's implementation of requantizing and exporting is located in this project: http://www.coranac.com/projects/#grit

lbussell commented 4 years ago

Make sure that there are no compiler warnings when you run the app. Also, prefer using let instead of var and return objects instead of arrays.

JohnBeckner commented 4 years ago

Fixed centroid destruction bug and changed output of k-means, fixed warnings from modification of palette.

Still needed: change method to find initial centroids to be deterministic.