turnage / valora

painting by functions
https://paytonturnage.gitbook.io/valora/
MIT License
721 stars 30 forks source link

Define an API for Colorspace control #32

Closed turnage closed 5 years ago

turnage commented 5 years ago

Today all color values are linear RGB. Users should be able to specify sRGB as an output space, but by default all color values from the user should be considered linear.

turnage commented 5 years ago

Color input should be probably be a palette type to be type-safe about gamma and space.