❌

Normal view

Made a 3D weather map in plain WebGL - ocean tides are calculated in the fragment shader

Made a 3D weather map in plain WebGL - ocean tides are calculated in the fragment shader

I run a small tide times site and wanted to see the weather actually move, so I built this 3D weather map. Plain JS and WebGL, no three.js or map library.

The tides are calculated right in the fragment shader, so there are no tide frames to download.

It has nice sound effects too, turn them on when you try it.

Live: thetidechart.com/weather-map

Would like to know how dragging/zooming feels on your phone.

submitted by /u/swifterrr to r/webdev
[link] [comments]
❌