修改了data文件夹内shell脚本及处理数据用的prepare.js文件,使脚本可正常运行
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:
- 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/demo/
- Install ecCodes (e.g.
brew install eccodes
)(如果是ubuntu可以运行命令:apt install libeccodes-tools
). - 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.