Skip to content

adding Go port#30

Open
timf34 wants to merge 2 commits into
scrtwpns:masterfrom
timf34:master
Open

adding Go port#30
timf34 wants to merge 2 commits into
scrtwpns:masterfrom
timf34:master

Conversation

@timf34
Copy link
Copy Markdown

@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