You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bpostlethwaite I am thinking about redesigning the API so that it looks like:
varcolormap=require('colormap')varjet=colormap('jet')//or cmap(options)varcolors=jet(72)//generate number of shades
That would allow for easier to remember API, less options and higher performance.
Also I am thinking on reducing the size, as it is addressed in #13. Due to clone dependency we include Buffer polyfill, which adds 70kb of completely useless code here.
What do you think about such major change?
Among other improvements, it is possible to optionally enable smoothstep, for enhanced color interpolation (as it is done in glsl-colormap).
The text was updated successfully, but these errors were encountered:
@bpostlethwaite I am thinking about redesigning the API so that it looks like:
That would allow for easier to remember API, less options and higher performance.
Also I am thinking on reducing the size, as it is addressed in #13. Due to
clone
dependency we includeBuffer
polyfill, which adds 70kb of completely useless code here.What do you think about such major change?
Among other improvements, it is possible to optionally enable smoothstep, for enhanced color interpolation (as it is done in glsl-colormap).
The text was updated successfully, but these errors were encountered: