Live demo here
An example showing the rendering of allsky projections using wgpu-rs. Allsky projections are used in many ways to represented the earth or the sky on a 2d plane. This method does the projection per-pixel and runs in realtime.
Supported projections are:
See this link for information about map projections.
If you want more precision about the algorithm and techniques used:
# Run
$ cargo run --release
-
Install wasm-pack
-
Install dev dependencies (e.g. vite)
npm install
- Test the web (WASM) version
npm run demo