An implementation of a rotating globe in Rust WebAssembly.
Data sourced from Natural Earth is transformed into Rust code during compilation using a build script.
wasm-pack build --target web
or optimised for release
wasm-pack build --target web --release
Some options to serve the application include:
# Python 3.x
python3 -m http.server
# Python 2.x
python -m SimpleHTTPServer
# JDK 18 or later
jwebserver
Access via a web browser at http://localhost:8000.