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

Add a buffer and see if it's faster #4

Open
fgaz opened this issue Nov 7, 2018 · 0 comments
Open

Add a buffer and see if it's faster #4

fgaz opened this issue Nov 7, 2018 · 0 comments

Comments

@fgaz
Copy link
Owner

fgaz commented Nov 7, 2018

Instead of writing directly to the main canvas, we should write to an offscreen canvas, and then when all the rendering is done copy that on the main canvas. This may be faster than what we are currently doing

Information on this is conflicting: https://stackoverflow.com/questions/2795269/does-html5-canvas-support-double-buffering

@fgaz fgaz self-assigned this Nov 7, 2018
@fgaz fgaz changed the title Maybe add a buffer Add a buffer and see if it's faster Oct 2, 2019
@fgaz fgaz removed their assignment Jan 4, 2020
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

No branches or pull requests

1 participant