Esri / wind-js

An demo animation of wind on a Canvas layer in the JSAPI
MIT License
735 stars 214 forks source link

Bugfix: Amount of particles now constant when resizing #14

Closed ilblog closed 9 years ago

ilblog commented 9 years ago

In previous version amount of particles depended on width of canvas only. It caused funny changes of particle density when resizing height of a map. Now density is dependent on w * h of canvas and does not change with resizing. Constant PARTICLE MULTIPLIER must also reflect that.

chelm commented 9 years ago

Great!