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

Move scene calculations to OffscreenCanvas #27

Open
Abbondanzo opened this issue Jun 7, 2019 · 0 comments
Open

Move scene calculations to OffscreenCanvas #27

Abbondanzo opened this issue Jun 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Abbondanzo
Copy link
Member

Issue

The React runtime for calculated.gg is already resource-intensive, and including this viewer increases lag on machines (even semi-decent, performant machines). Using the main thread to perform scene calculations is costly.

Solution

Move the building and calculation of animations to a worker thread. Preferably, move the entire operation to an OffscreenCanvas for supported browsers and measure performance upgrades.

@Abbondanzo Abbondanzo added the enhancement New feature or request label Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant