Skip to content

Perceptually uniform colormap #63

@asinghvi17

Description

@asinghvi17

Hi, I really love this mod! I couldn't help but notice, though, that you're using a rainbow-like colormap to display variables. It seems to be generated here:

private void GenerateDeltaVPalette()
{
LogFormatted("Generating DeltaV Color Palette");
DeltaVColorPalette = new List<Color>();
for (int i = 64; i <= 68; i++)
DeltaVColorPalette.Add(new Color32(64, (byte)i, 255, 255));
for (int i = 133; i <= 255; i++)
DeltaVColorPalette.Add(new Color32(128, (byte)i, 255, 255));
for (int i = 255; i >= 128; i--)
DeltaVColorPalette.Add(new Color32(128, 255, (byte)i, 255));
for (int i = 128; i <= 255; i++)
DeltaVColorPalette.Add(new Color32((byte)i, 255, 128, 255));
for (int i = 255; i >= 128; i--)
DeltaVColorPalette.Add(new Color32(255, (byte)i, 128, 255));
}

Have you considered switching to a perceptually uniform colormap? Something like this
Screen Shot 2023-03-10 at 5 17 33 PM
or maybe this reversed
Screen Shot 2023-03-10 at 5 17 40 PM
might be pretty useful. I'd definitely be down to help if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions