Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A very small example to show how to render allsky projections using wgpu-rs

Topics

Resources

Stars

36 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages