@brakebein/webgl-wind
v1.0.2
Published
Wind power visualization with WebGL particles
Downloads
4
Maintainers
Readme
WebGL Wind
A WebGL-powered visualization of wind power. Capable of rendering up to 1 million wind particles at 60fps.
This project is heavily inspired by the work of:
- Cameron Beccario and his wonderful Earth project with its open-source version.
- Fernanda Viégas and Martin Wattenberg and their US Wind Map project.
- Chris Wellons and his WebGL tutorials, in particular A GPU Approach to Particle Physics.
- Greggman and his WebGL Fundamentals guide.
This fork of webgl-wind adds type definitions and disables distortion towards the poles.
Running the demo locally
npm install
npm run build
npm start
# open http://127.0.0.1:1337/demo/
Downloading weather data
- Install ecCodes (e.g.
brew install eccodes
). - Edit constants in
data/download.sh
for desired date, time and resolution. - Run
./data/download.sh <dir>
to generate wind data files (png
andjson
) for use with the library.