Skip to content

shizukanaqun/webgl-wind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Wind

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:

Running the demo locally

npm install
npm run build
npm start
# open http://127.0.0.1:1337

Downloading weather data

  1. Install GRIB-API.
  2. Edit constants in data/download.sh for desired date and resolution.
  3. Run ./data/download.sh <path> to generate wind data (<path>.png and <path>.json) for use with the library.
  4. Optionally run optipng -o7 <path>.png to reduce the wind texture file size.

About

Wind power visualization with WebGL particles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.8%
  • GLSL 22.7%
  • Shell 4.5%