跳至內容

Three.js Ocean Lab

Water World is a backyard pool of real GPU particle water. Drop in beach balls, rubber ducks, crates and cannonballs that float or sink by their actual density, throw them around, tap the water to splash, and switch on the wave machine, a fountain or a whirlpool, all at once if you like. Browsers without WebGPU get the classic Three.js water lab with ripples, refraction and caustic light.

WebGPUParticle FluidsThree.jsBuoyancy
Landscape artwork for Water World showing a glowing procedural ocean simulation

探索 Water World

Water World 是一個由真實 GPU 粒子水組成的後院泳池。泳池玩具會根據實際密度浮起或下沉,並有造浪機、噴泉和漩渦讓水不斷流動。

使用按鈕或按鍵 1 到 4 丟下玩具,拖曳它們以進行投擲,點擊水面以濺起水花,並切換效果的開啟與關閉。不支援 WebGPU 的瀏覽器將獲得帶有漣漪、折射和焦散的傳統高度場水實驗室。

相關文章

Instagram