The NCEP data provides only 1ยบ resolution, so bilinear interpolation is used to fill in the gaps. How much interpolation is needed depends on the zoom level and the projection. On top of that, the distortion caused by the projection must be applied to the interpolated wind field. All of these heavy calculations are done up front so the animation can be as fast as possible. So each time the orientation of the globe changes, we have to redo the calculations.
seanalltogether|12 years ago
I think I'm missing something. Are you overlaying a drawing canvas over the globe and handling your own custom projection then? Is it not possible to dynamically draw to a webgl texture and let the gpu take care of projection?
I do understand why you'd have to restart on zoom. Overall its an excellent project you have here.
cambecc|12 years ago
WebGL would be fun to learn, but AFAIK not supported by mobile browsers yet.
ynniv|12 years ago