Open dy opened 8 years ago
Definitely worth porting them all over
@dfcreative so lets meet up and figure out how to script those colormaps and port them over into the JSON blobs we have here
I can devote some time to it, that should not be difficult. Although @etpinard had an idea that maybe we better remove colormap from plotly dist, since we duplicate them as a constant.
@etpinard yep you only need the scales. I actually want to add this to the library independently from plotly.js. I didn't even realize plotly.js still used colormap
Only gl3d surface
and mesh3d
uses colormap I believe. We should definitely keep it out of the regl2d rewrite.
We can borrow some ideas from glsl-colormap, pretty nice collection.