Demo projects using Odin compiled to WebAssembly and rendered using WebGL
jlafayette.github.io/odin-webgl-experiments
Odin (uses fork at jlafayette/Odin) Go (for dev server) Python (for build/publish scripts)
To build an example with the dev server:
python build.py <example-name>webglfundamentals webgl-resizing-the-canvas
Had a problem when the phone is vertical, the window size wasn't being set right and the aspect ratio was off and top of content cut off. Took a while to find the answer:
[ ] multi: Have js send if running on mobile [ ] multi: Buttons for mobile inputs to cycle things [ ] camera: use quaternions [ ] camera: determine N_CUBES from query parameters if provided [ ] keyboard: add wave switcher