-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement paint mixing simulation #11
Comments
Aside from the elaborate mixing mentioned in the posts above, it would also be nice to have a straightforward colour mixing/interpolation function (in some space) without the need for simulation. This can already achieved manually, but it might be useful for r-lib/scales#423 to have that extra farver magic. |
I've been thinking about wrapping this code into an R package, unless @thomasp85 is interested in putting it here...? https://github.com/scrtwpns/mixbox The mixbox approach is really interesting because it can closely approximate a subtractive mixture without any simulation. Currently, there is support for the simulation of subtractive color mixing the the aqp package, but only for colors referenced in the Munsell system and having reflectance spectra. I plan to add more reference spectra in the future. Even so, simulation is expensive and the R implementation isn't very fast. |
I'm very interested in having it here. One thing to be super careful about is the licensing of the various pigment mixing approaches as I remember them to be very restrictive. It seems mixbox is CC-NC which seems fine but better check. Often there is copyright on the reflectance data |
Great! I've had some fun conversations with the mixbox authors and they have been very supportive of its (non-commercial) use. I'd be happy to help with testing and or documentation. Compiled code isn't my specialty. I'm planning to further develop the Munsell / reference spectra based mixing in aqp, as it is mostly concerned with "small mixes". In addition, I'm planning to add diffuse spectra for a simulation closer to that outlined by Kubelka–Munk. |
https://stackoverflow.com/questions/1351442/is-there-an-algorithm-for-color-mixing-that-works-like-mixing-real-colors
The text was updated successfully, but these errors were encountered: