This example demonstrates the ethanol-rs pharmacokinetics library running in WebAssembly.
A 30-year-old male weighing 80kg (180cm tall) consumed:
- Beer (330ml, 5% ABV) 30 minutes ago on an empty stomach
- Beer (330ml, 5% ABV) 1 hour ago on an empty stomach
./build-wasm.sh webpython3 -m http.server 8000, ornpx serve ., orhttp://localhost:8000/example.html in your browser