Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.43 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.43 KB

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.

Aitoff projection rendering of the sky

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:

  • Read this article I wrote on my personal blog.
  • See my talk at ADASS 2020 at this link.

Test as a native application

# Run
$ cargo run --release

Test on the browser (WIP)

  1. Install wasm-pack

  2. Install dev dependencies (e.g. vite)

npm install
  1. Test the web (WASM) version
npm run demo