All examples By author By category About

syntagmatic

Canvas Parallel Coordinates - getImageData caching

Paths are rendered only once, and the imageData is cached for redrawing. Redrawing a single path requires one clearRect, putImageData and drawImage call so the net effect seems slower than simply rerendering that paths with moveTo/lineTo.