Skip to content

Perceptually uniform interpolation for the spread button on palette dialogue #264

@jimhigson

Description

@jimhigson

A feature suggestion - often in pixel art the artist will try to create colours in a range that look equal distance apart to the human eye. The traditional rgb linear interpolation of dpaint does a poor job of perceptually uniform steps. Luckily, in the years since the science of interpolating colour spaces has come on a long way.

This is a good post I found randomly https://mastodon.social/@_Davidsmith/109936135843739024

Since several python libraries already exist to do this, it shouldn’t be too difficult to support:

https://python-colormath.readthedocs.io/en/latest/

https://github.com/ifarup/colourspace

Maybe a dropdown on the spread button to select “rgb” or “lab” would be a nice UI for this that would fit in with the existing UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions