WebAssembly port of the wator visualization from xlock (that itself is based on Dewdney's Wa-Tor, water torus simulation)
Based on xlockmore-5.83
- Primary site: https://www.sillycycle.com/xlock
- Alternate site: http://ibiblio.org/pub/Linux/X11/screensavers
- Web page: https://www.sillycycle.com/xlockmore.html
- Maintainer: David A. Bagley
- Primary key fingerprint: 1B79 C847 8F23 6DCD ADC0 D6AC CF15 9707 3779 19AE
To build:
- Set up the Emscripten SDK
- Run
emcc -O3 wator.cpp -s EXPORTED_RUNTIME_METHODS=HEAPU8 -o wator.html- (but ignore
wator.html, instead usewator_simulation.html)
- (but ignore
- To emit source maps, run
emcc wator.cpp -s EXPORTED_RUNTIME_METHODS=HEAPU8 -o wator.html -g -gsource-map
To test locally:
- Run
python -m http.server - In a web browser, open http://127.0.0.1:8000/wator_simulation.html