{"repo":"owenyuwono/poseidon","free":true,"listed":false,"github":"https://github.com/owenyuwono/poseidon","clone":"git clone https://github.com/owenyuwono/poseidon.git","description":"GPU-driven real-time FFT ocean (Three.js + WebGPU/TSL)","language":"JavaScript","stars":215,"topics":["compute-shader","fft","graphics","threejs","webgl","webgpu"],"license":null,"category":"game-templates","readme_excerpt":"Poseidon A real-time Tessendorf ocean in Three.js : three cascades of inverse FFT running as WebGPU compute shaders, shaded with measured water optics. Run Open the printed URL. WebGPU only, with no WebGL fallback : Chrome/Edge 113+ or Safari 18+. If the page reports WebGPU as unavailable on a machine that should have it, chrome://flags/#enable-unsafe-webgpu is the usual culprit. npm run build / npm run preview produce and serve a static bundle. Controls The camera is an Unreal-style free look. Input Action --- --- Hold right mouse Look around W A S D Fly along the view direction Q / E Down / up (world space) Shift 4× boost Mouse wheel Fly speed + / − Choppiness λ The panel on the right tunes sea state (wind speed and direction, amplitude, directionality, time scale), foam, surface detail and subsurface strength, and the sun. The chips in the bottom-left switch sea palette (tropical green ↔ open-ocean blue) and sky rig (midday ↔ golden hour) live. The look Sun glitter. GGX with a knee, over a sun reconstructed from the panorama's clipped disc. Whitecaps. Foam where the displacement Jacobian folds, with build/decay so caps linger and streak downwind. Subsurface scatter. A thin lip goes warm, a thick one jade, off one exponential over a refracted path. Wave field. Three cascades on disjoint wavenumber bands: swell and ripple without visible tiling. Open-ocean blue. Jerlov absorption and scattering, not a tinted swatch. Tropical green. Same water model, different inherent optica","default_branch":null,"files":null,"tree":[],"storefront":"/r/owenyuwono","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/owenyuwono/poseidon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}