Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and rendering logic to use zCanvas 6.0.1 #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

igorski
Copy link
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.

None yet

1 participant