Replies: 1 comment 3 replies
-
That's a nice idea! I have been thinking that I would like to replace |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself rewriting boilerplate often enough that maybe it'd be nice to have upstream. The
ColorDifference
trait exists but I don't always need the expensive CIEDE2000 calculation. Sometimes I'd like a more simple Euclidean distance/norm or the squared distance for comparing to a tolerance value.This is a sketch of what I had in mind.
Perhaps this can be added to the
ColorDifference
trait?There may be other "general enough" functions that people find themselves re-implementing similar to these which would carry their weight as additions to the library.
Beta Was this translation helpful? Give feedback.
All reactions