-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add methods to map color components (#9)
These are convenience methods, but should provide a nice concise way to express common operations on colors, subsuming a lot of single-use methods. Arguably 'map_lightness' should become a method on `ColorSpace`, very similar to `scale_chroma`, as similar math optimizations apply.
- Loading branch information
Showing
2 changed files
with
115 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters