Closed nurpax closed 6 years ago
Might want to have screen reordering for this one too: https://github.com/nurpax/petmate/issues/85
I implemented this but it is SUPER slow. I profiled this in Chrome devtools and turns out it's spending most of the time recomputing a new quantized palette for the input frames in the gif-encoder's neuquant (that legendary Kosonen SOM neural net). This is of course quite wasteful since we don't need to event compute a palette as the inputs can only ever contain 16 colors.
I'm planning to patch gif-encoder by adding an option to pass in a palette that's used for quantization. This should make gif export run several orders of magnitude faster.
I had a good laugh finding this anim in my mailbox this morning! :D
TODO:
forked from https://github.com/nurpax/petmate/issues/19