A WebGL-powered visualization of wind power. Capable of rendering up to 1 million wind-led 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.
npm install
npm run build
npm start
# open http://127.0.0.1:1337
- Install GRIB-API.
- Edit constants in
data/download.sh
for desired date and resolution. - Run
./data/download.sh <path>
to generate wind data (<path>.png
and<path>.json
) for use with the library. - Optionally run
optipng -o7 <path>.png
to reduce the wind texture file size.