teykamp / cssCanvas

Vue canvas component
1 stars 1 forks source link

ONGOING LIST OF OPTIMIZATIONS #27

Open teykamp opened 1 month ago

teykamp commented 1 month ago
teykamp commented 3 weeks ago
teykamp commented 2 weeks ago
teykamp commented 2 weeks ago
  • [ ] if re-rendering, make cache of rendered elements so do not have to recompute everything (example, changing styles on 1 element)

this should be solved by rendering each canvas individually instead of merging. have unique id's for each canvas (and each HTMLElement I suppose) and then update that specific one instead of redrawing everything each time. The canvases should be ordered by draw order and z-index

teykamp commented 6 days ago