Skip to content

Conversation

@timf34
Copy link

@timf34 timf34 commented Apr 16, 2025

Just dropping in a Go version of Mixbox.

It’s basically a full rewrite of the core logic, same RGB-to-latent conversion, same polynomial stuff, same LUT usage. You can load the LUT from a file (lut.dat) or use the base64 string like in the Python version.

Also added a little demo (main.go) that makes a gradient.png comparing Mixbox mixing to linear RGB. Should make it easier to mess around and see the difference.

Let me know if there’s anything you’d like tweaked. Happy to clean it up more, just thought this might be a nice addition 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant