Using a specific canvas element for bevy
Bevy works well on the web! One of the things that took me some digging is how to get bevy to not create and inject a canvas element but instead use one that is already in the DOM. Below is a snippet of how to do this in rust as well as the corresponding HTML. Hopefully this saves someone some time! I needed this in a prototype to see if I could get bevy and yew to work well together....