Materials & Lighting

Wave Surface

What this shows

Sampled points form a moving water surface.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

import * as EASEL from "@xsyetopz/easel";

for (const vertex of vertices) position.setXYZ(vertex, x, wave, z);
position.needsUpdate = true;