Skip to content

Update dependencies and rendering logic to use zCanvas 6.0.1#32

Open
igorski wants to merge 3 commits intomasterfrom
zcanvas6
Open

Update dependencies and rendering logic to use zCanvas 6.0.1#32
igorski wants to merge 3 commits intomasterfrom
zcanvas6

Conversation

@igorski
Copy link
Copy Markdown
Owner

@igorski igorski commented Jan 1, 2024

Update to use new zCanvas 6 API with all its performance improvements.

TODO / Known issues

  • Layer scale and rotation should propagate onto DrawContext of LayerSprite
  • Use DrawContext for optimized transformations
  • Cloned strokes need to getImageData() from Canvas which is async <- this might prevent Worker use
  • Cannot use Worker optimization yet
  • On Document load / mouse hover canvas zoom seems to be the max
  • isVisible checks seem to be inaccurate (text not visible at all zoom levels)
  • Use ImageBitmap instead of HTMLCanvasElement for all temp content?
  • Typechecks fail

@igorski igorski self-assigned this Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant