Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Water Simulation

Public visualization

Viewing a saved revision (read-only)

7658129f6ba4415db4dc521a414b13a5

Water Simulation

0 stars0🌍 Public
Nnandugali
Last edited Dec 9, 2023
Created on Dec 9, 2023
Forked from Scatter Plot

This example shows an interactive water surface simulation rendered with WebGL on an HTML canvas. The visualization uses D3’s `select` to manage the container and a custom `viz` module that updates the scene on each render. The code initializes the WebGL context and draws a dynamic, undulating water effect, with state managed through a `setState` function to trigger re-renders. It relies on canvas-based WebGL rendering for fluid-like motion, with no external data source beyond the visual simulation itself.

AI-generated description