水球星球
WaterBall,matsuoka-601,2025 年

正在布展…
它是怎么做的
- 第 1 步与 WebGPU-Ocean 相同的 MLS-MPM 流体核心
- 第 2 步重力方向逐粒子指向球心,形成环绕球体的海洋
- 第 3 步屏幕空间流体渲染重建平滑水面
- 第 4 步交互拖拽改变视角与扰动
复刻配方
一段技术配方,可以直接交给 AI 编程助手,也可以自己照着写。想指定技术栈、位置和性能预算,就把它加入实现方案。
Reuse an MLS-MPM fluid solver but compute gravity per particle as a vector toward the planet's center instead of a constant down vector. Add a solid inner sphere as a boundary in the grid update step by zeroing the inward normal component of velocity inside it. Render with screen-space fluid techniques (depth splat, bilateral blur, normal reconstruction) plus a simple planet core shaded underneath. Let drags rotate the camera and inject an impulse into nearby grid cells.


