https://github.com/dli/waves/tree/1313f464c2df7d1c69852577248b58fa29074c38 MIT Copyright (c) 2014 David Li. Retained spectral wind model, phase evolution, Stockham GPU FFT, displacement/normal maps, Fresnel water shading and camera math. New page/control UI; spectral grid 256 and mesh 128; bounded draw surface; added explicit floating framebuffer extension and on-demand diagnostics. No external assets, backend, packages or build tools. The served JS is the complete adapted source.