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

Integration with Leptos #355

Open
GioPat opened this issue Aug 15, 2023 · 1 comment
Open

Integration with Leptos #355

GioPat opened this issue Aug 15, 2023 · 1 comment
Labels
question Further information is requested

Comments

@GioPat
Copy link

GioPat commented Aug 15, 2023

Good morning. I was thinking to develop a charting web application using Leptos+Vello (For the charting rendering and interaction).
I saw from the examples that it's possible to attach a rendering scene to an HTML canvas element which is created starting from the window struct.
Do you think that it's a feasible integration? I'm afraid the re-rendering system of Leptos could clash with some of the rendering lifecycles of Vello.

Thanks!

@power-unsealed
Copy link
Contributor

I cannot comment on the feasibility of using Vello for rendering charts in Leptos. However, I happen to just have developed a web application in Leptos that included chart rendering. For the current implementation, I resorted to almost raw HTML5 canvas rendering with the Context2D API via web-sys, and my own thin abstraction on top of it. I cannot share the source code, but I hope that little hint helps a bit at least.

@simbleau simbleau added the question Further information is requested label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants