patrickmineault / ismyblue

Is my blue your blue?
https://ismy.blue
MIT License
141 stars 17 forks source link

How do I set new colors? #5

Open adispezio opened 2 weeks ago

adispezio commented 2 weeks ago

So cool! How exactly do I set new colors? I'd like to compare blue and purple. Having difficulty understanding exactly where I can edit the color extremes and midpoint. I realize I'll need to make some changes to the functions but just looking for the basics of where these values are being defined. Thanks!

adispezio commented 2 weeks ago

Ah I think I found it... references to the hue degrees need to be updated!

Edit: Ohh the hard coded values run deep 😅

danhogan commented 2 weeks ago

I came here looking for the same thing. Not sure how the arrays in config.js get created.

adispezio commented 1 week ago

I generated new arrays with a smaller hue distribution (blue to purple) which also requires updating the sensitivity of the functions controlling how much to adjust the color. But I wasn't able to determine the role of the CDF during the evaluation (or just for results and graphing) and whether it's mainly based on the hard coded extremes and the smaller ranges in the functions used for the test.

itsbapic commented 6 days ago

Hey @adispezio and @danhogan I made a fork and just launched the version today that has all colors! Feel free to check it out. https://github.com/itsbapic/ismycolor