astrosat / windgl

A WebGL wind particle simulation as a Mapbox custom layer
https://astrosat.github.io/windgl/
ISC License
170 stars 45 forks source link

Feature/glossis currents #36

Closed SiggyF closed 4 years ago

SiggyF commented 4 years ago

Add support for flowmaps that have a 'b' (blue) mask channel.

SiggyF commented 4 years ago

I was planning to submit this to my own fork. It is not yet finished for merge in your branch yet. So I am closing it for now.

I am working on extending your code with the option to have a blue "mask" channel. That allows the code to be used for ocean currents. I added an example in the docs. Please feel free to comment on how I can make it suitable for a merge into your version.