leptos-rs / leptos

Build fast web applications with Rust.
https://leptos.dev
MIT License
15.31k stars 599 forks source link

Example using the bevy 3d game engine and leptos #2577

Closed Hecatron closed 1 month ago

Hecatron commented 2 months ago

Hi, This example is for using the bevy 3d engine and leptos in combination. The controls inside the component move the cube up and down via events.

Currently there are events going from leptos -> bevy. I think it should be possible to do the other way around as well, although I've not tried setting that up yet so it's a bit experimental.

gbj commented 2 months ago

Thanks! Could you put this in the projects directory instead? I'm trying to keep most new examples there so that we have them for reference and to point people toward, but without me needing to maintain them long term.

Hecatron commented 2 months ago

Ok this one now moved to the projects directory

gbj commented 1 month ago

Thanks!