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

Use canvas for drawing #55

Open
rossjrw opened this issue Oct 29, 2020 · 1 comment
Open

Use canvas for drawing #55

rossjrw opened this issue Oct 29, 2020 · 1 comment
Labels
optimisation An internal-only improvement that would be nice to have but that really isn't necessary at all

Comments

@rossjrw
Copy link
Owner

rossjrw commented Oct 29, 2020

Canvas is probably a lot faster to draw than SVG. I think I should have been using it all along, honestly.

I should save SVG for the export. The preview should be canvas.

@rossjrw rossjrw added feature Add a new feature essential This is required for the minimum viable product labels Oct 29, 2020
@rossjrw
Copy link
Owner Author

rossjrw commented Oct 29, 2020

No need to implement this yet - though I do think it should be done eventually - but having looked at the API I think I'd prefer to avoid using a framework for this. The syntax is fairly similar to what I'm already doing for SVG. I should be able to write a method that takes a general source of structural information and produces either a canvas path or an SVG path.

@rossjrw rossjrw added enhancement Make an existing feature work better and removed feature Add a new feature labels Nov 1, 2020
@rossjrw rossjrw added optimisation An internal-only improvement that would be nice to have but that really isn't necessary at all and removed enhancement Make an existing feature work better essential This is required for the minimum viable product labels Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimisation An internal-only improvement that would be nice to have but that really isn't necessary at all
Projects
None yet
Development

No branches or pull requests

1 participant