Skip to content

Conversation

@dreavjr
Copy link

@dreavjr dreavjr commented May 27, 2017

… L*a*b*

I created a way to make the color interpolation perfectly smooth. The procedure demands converting to a perceptually uniform colorspace (in the case L*a*b*) and making the interpolation there. My code uses numpy, but I kept the legacy interpolation code as a fallback in the case the user cannot import it. There's a notebook with the explanation of the code step by step here: https://github.com/dreavjr/colorinterp

@jackparmer
Copy link
Contributor

Wow, this is a very humbling and nice addition. Thanks for contributing! Your 📓 s great too:
https://github.com/dreavjr/colorinterp/blob/master/Perceptual%20Uniform%20Color%20Interpolation.ipynb
Would you mind if I rename new_interp() as lab_interp(), and keep old_interp() named as interp()? My concern is folk's code will break if they update to a new version of colorlover, and have a bunch of cl.interp()'s floating around. Excited to steer folks towards lab_interp() going forward 👍

@dreavjr
Copy link
Author

dreavjr commented Jun 15, 2017

Thank you very much for accepting my contribution, please feel completely free to adapt it as you think it suits better the existing userbase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants