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

Rewrite the UI to render entirely into a Canvas #29

Open
electronoora opened this issue May 15, 2021 · 0 comments
Open

Rewrite the UI to render entirely into a Canvas #29

electronoora opened this issue May 15, 2021 · 0 comments
Assignees

Comments

@electronoora
Copy link
Owner

Rendering the player UI using a complex DOM and requiring pixel-perfect positioning causes various performance and compatibility issues. Using a pre-rendered fontmap image and rendering the UI fully into a Canvas first, and then to the screen would likely improve performance, and simplify the code.

Clickable UI elements would need a mechanism for registering event callbacks to provide hover/click functionality.

As an additional bonus, this would also rewrite out the dependency to jQuery.

@electronoora electronoora self-assigned this May 15, 2021
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