This is a simple demo of how to make winit, glow, and web-sys work together. Additionally, demonstrates how to make an async HTTP call.
TODO:
- Make the example also compile and run natively
To run:
- Make sure you have wasm-pack and Python 3 (for a simple HTTP file server)
- Run
./run.sh
- Open http://0.0.0.0:8000 in your browser
Credits:
- winit web example
- wasm-project-template and help from Alvin with build instructions
- glow example
- help with async + winit