Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Water Simulation

Public visualization

Water Simulation

0 stars0🌍 Public
Nnandugali
Last edited Dec 9, 2023
Created on Dec 9, 2023
Forked from HTML Starter

This WebGL visualization demonstrates a simulated water surface using Three.js. The code constructs a 10x10 plane geometry, applies a blue wireframe material, and animates its vertices by altering their z-coordinates with a sine function based on time. Each vertex moves independently to create rippling wave-like motion, with the mesh redrawn every frame. The interactive camera, positioned at z=50, provides a perspective view of the undulating terrain, showcasing real-time procedural animation driven by a simple mathematical model.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed