wgpu-sky-rendering
wgpu-sky-rendering copied to clipboard
A very small example to show how to render allsky projections using wgpu-rs
All sky rendering using WebGPU
Live demo here
What is it ?
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.
How it works
If you want more precision about the algorithm and techniques used:
Test as a native application
# Run
$ cargo run --release
Test on the browser (WIP)
-
Install wasm-pack
-
Install dev dependencies (e.g. vite)
npm install
- Test the web (WASM) version
npm run demo