Closed
Description
The idea is to use the zsmooth="fast" rendering method, which is currently faster than without smoothing (imageData pixel array vs fillRect), whenever possible, and tell the browser to not interpolate when zsmooth is false.
The condition is that all bricks should be uniform (ie. linear axes, linear scales, no gaps), so the proposition doesn't come as a replacement for the fillRect loop.
Here is a codepen that illustrates what I mean.
The performance gain becomes significant when used with sliders, as discussed here, and here.
Metadata
Metadata
Assignees
Labels
No labels