Skip to main content
100%

Water Simulation

✓ Published0🌍 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
MIT Licensed

Similar vizzes