Demo
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.
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.