Open teykamp opened 1 month 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