Help creating an ArrayList of color values

There are two color blindness liibraries for Processing.

Homepage: ColorBlindess: Processing Library | ixora.io

This is the one available through Contributions Manager if you search ColorBlindness.

Second:

Writeup: Image Processing Library to Ease Differentiation of Colors for People with Colorblindness | by Processing Foundation | Processing Foundation | Medium

Both support Daltonization.

I just found the second on accident – it was a 2017 GSOC project. I’m not sure why the project was done to create a second library, or what needs it addressed that were not addressed by the first one.

1 Like

Cool thank you Jeremy but, I am not trying to alter the stuff to correct for colorblindness.

I am just trying to make a program that generates harmonically sound color selection just by numbers. It’s just meant to be a confident “starting place”. Which can be tweaked to perceptual taste beyond that.

As my image previously tries to show. It would be trivial to code this with a subtractive wheel as the numerical offsets would be consistent from any “seed hue” on the wheel. Not the same situation with the additve wheel.

I don’t believe you can “correct” for color blindness, that would be like boosting the high frequencies in audio for some one who has less hearing in upper registers. They might hear a bit of a change, but they can’t really hear those frequencies so no amount of boost will do any good. :slight_smile: And it won’t make for nice sounding music.

It’s a complex issue especially to those trying to “see” what we “see”. Your still “seeing” it through normal color range vision.

1 Like

Absolutely, @Eyetoof – not my area of expertise, and I didn’t mean to presume that Daltonization would solve your problem off-the-shelf. Those are just Processing libraries that specifically do color palette management and mapping in a related problem area – I thought that, like toxiclibs, the source code might be worth a peek to see if there was any interesting code inside that could help you with your creative problem. Please accept my apologies if I gave any offense.

Jeremy -

Oh man no offense at all !!! Sorry if it came off like that. :slight_smile: I actually realy appreaciate your efforts to help. I DO think the Toxic Labs stuff might be just what I am looking for. ANd I am really grateful for that tip. It is a really complex issue, and so I am very used to trying to explain it. its all good for sure.

I am still newb at how to utilize libraries. So it will take me some digging to figure Toxi out but I think it may very well be just what i need, algorithms to pick colors from the additive based upon subtractive space.

The fact that I am not finding a lot, makes me feel like developing this stuff is really worthwhile too :).

1 Like

Hello,

Welcome to forum.

Some resources to add to this topic for all:

https://processing.org/tutorials/color/
https://processing.org/examples/colorvariables.html
https://processing.org/reference/color_.html
https://processing.org/reference/ See color. :slight_smile:

Its insightful to peruse the source but not always easy to find what you are looking for.
Some of the Processing functions here:
Processing source code - PApplet.java
Doing a search for “color(” for example narrows down the search and can be done for other functions.
:)

1 Like