-
Notifications
You must be signed in to change notification settings - Fork 5
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
Paraview Colormaps #9
base: master
Are you sure you want to change the base?
Conversation
Useful links for future self:
|
b84ab29
to
a54187a
Compare
a54187a
to
3e166ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to check how paraview does the interpolation
break; | ||
case ColorSpace.HSV: | ||
throw 'ColorSpace.HSV not supported'; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to review this part of the code
|
||
// Add support for log scales scaleSequentialLog | ||
const divergingColorScale = d3Scale.scaleSequential((value: number) => { | ||
for (let i = 0; i < controlPoints.length - 1; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The complexity of this code might be important
Needs a rebase |
cc. @ejtovar
Working on supporting Paraview colormaps. I will also add support for importing custom colormaps the same way Paraview does it.