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

Colorscale #19

Open
dy opened this issue Sep 21, 2017 · 1 comment
Open

Colorscale #19

dy opened this issue Sep 21, 2017 · 1 comment

Comments

@dy
Copy link
Member

dy commented Sep 21, 2017

Probably with the API
color: colorscale, where colorscale is any from https://github.com/bpostlethwaite/colormap

This was referenced Sep 22, 2017
@dy
Copy link
Member Author

dy commented Sep 29, 2017

Possible implementations:

  • bind colorscale to data limits, like color: colorscale, orientation: 'vertical'
    • 👎 impossible/difficult to use polar coordinates
    • 👍 framebuffer implementation allows for svg pattern intersections
  • bind colorscale to distance, as color: colorscale
    • ❓ when do we need to paint by distance
    • 👎 it is difficult to display per-point color as distance can change easily by moving any point
  • provide colors for points as color: [a, b, c, ...]
    • 👍 allows for point-bound colors, ie. external colorscale interpolation
    • 👍 enables distance colorscale, polar coord, cartesian coord coloring

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

No branches or pull requests

1 participant