Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: more interpolations schemes #8

Open
briochemc opened this issue Mar 10, 2021 · 1 comment
Open

Feature request: more interpolations schemes #8

briochemc opened this issue Mar 10, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@briochemc
Copy link

briochemc commented Mar 10, 2021

Not sure how to title this issue, but I think it would be nice if one could use different interpolation schemes between colors.

I'm bringing up this issue following JuliaGraphics/ColorSchemes.jl#60, which is about adding bipolar colormaps. In particular, the referenced matplotlib tool, https://github.com/endolith/bipolar-colormap, proposes colormaps designed along Bézier curves in colorspace (instead of piece-wise linear interpolations). Not sure this would be possible but that would be one part of this feature request.

Otherwise, I thought it might be possible to use some of Interpolations.jl, e.g., B-splines, and so on.


EDIT: Of course, maybe none of this makes sense, so if that's the case sorry for the noise and please don't hesitate to close right away.

@cormullion
Copy link
Member

Good idea!

Doing Bezier interpolation through RGB space is definitely too difficult for me to add (I only just managed to add simple linear interpolations), but if someone wants to write it, it would be useful, I think.

@cormullion cormullion added enhancement New feature or request help wanted Extra attention is needed labels Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants