Skip to content
 
 

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Wind — Demo

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:

Running the demo locally

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

Downloading weather data

  1. Install ecCodes (e.g. brew install eccodes).
  2. Edit constants in data/download.sh for desired date, time and resolution.
  3. Run ./data/download.sh demo/wind 20210627 00 to generate wind data files (png and json) for use with the library.
  4. Modify the windFiles, object in demo/index.js to reference the new dataset
    1. Object keys are offsets in hours from the first date/time
    2. The label for the GUI control is in the meta object
    3. The min, max, and interval for the GUI control are on the gui.add(meta, ...) line

About

Wind power visualization with WebGL particles

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages