Dye Mixer

Illuminant White adapt
.???? .????
Canvas White adaptBrightness Adapt
.???? .????
Mixed Swatch Brightness Adapt

This code is adapted from the Java Applet originally hosted at https://yehar.com/blog/?p=307#comment-1256021 by SalusaSecondus. I am not a dyer and did this as a favor to a friend. The original version was released to the public domin. In an effort to preseve it, I hand translated it into HTML and Javascript and am hosting it here (also under the public domain). This webpage is entirely self-contained and may be downloaded to your local machine or rehosted elsewhere.

I intend to make minor usability tweaks as I find them, but I'm not a web developer or someone who generally builds user interfaces. Since this is hosted in a GitHub repository, I encourage people to submit Pull Requests or Issues to improve this.

To aid in use, I am duplicating the application description below from the original author.


Original description

The basic idea of the Dye Mixer is to let you to try out various dye combinations on various canvases under various lighting conditions, in "virtual reality", with only virtual fabric and dye wasted. :-)

Instructions

Here are descriptions of the different parts of the Dye Mixer user interface:

Here are some typical uses for the Dye Mixer:

Happy mixing!


FAQ

What is meant by "Amount" for a dye?

(From Comment 2280)

The original author recommends making a test swatch and then placing it against white paper for contrast. Then, use this site to color match as close as you can and that gives you a "reference amount." Divide the amount of dye you used by the reference amount to get your "scaling factor." In the future, when you need to figure out how much of this dye you need to use, multiple the "amount" reported by this page by the "scaling factor" you calculated earlier.


This code is released to the public domain.