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

define color scale #19

Closed
ykcheung opened this issue Feb 16, 2017 · 2 comments
Closed

define color scale #19

ykcheung opened this issue Feb 16, 2017 · 2 comments

Comments

@ykcheung
Copy link

Hi thank you for your work ! It is really beautiful.

I wanna define my own color scale base on the intensity of each point.
my color scale

Is this possible ?

@bozdoz
Copy link
Contributor

bozdoz commented Feb 18, 2017

Have you seen the gradientTexture option? Pass an image or path to an image. See some of the PNGs on the webgl heatmap library repo: https://github.com/pyalot/webgl-heatmap. Does that work for you?

@ykcheung
Copy link
Author

Oic thank you !

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

2 participants