GanyJS icon indicating copy to clipboard operation
GanyJS copied to clipboard

Paraview Colormaps

Open martinRenou opened this issue 6 years ago • 2 comments

cc. @ejtovar

Working on supporting Paraview colormaps. I will also add support for importing custom colormaps the same way Paraview does it.

martinRenou avatar Dec 16 '19 13:12 martinRenou

Useful links for future self:

  • Paraview's implementation of the look-up table https://github.com/Kitware/ParaView/blob/707cf231b9ef571b7cdba27e8095e13cc5774857/ThirdParty/cinema/paraview/tpl/cinema_python/images/lookup_tables.py#L25
  • d3's uniform colormaps implementation https://github.com/d3/d3-interpolate/blob/master/src/rgb.js#L54
  • d3 non-uniform diverging colormaps https://github.com/d3/d3-interpolate/issues/81

martinRenou avatar Dec 16 '19 14:12 martinRenou

Needs a rebase

martinRenou avatar Jan 21 '21 16:01 martinRenou