Skip to content

mapbox/webgl-wind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 <dir> to generate wind data files (png and json) for use with the library.