cursor-composer-2
composer-2
READMEfishtank-water-sim/cursor-composer-2/README.md
fishtank-water-sim — cursor-composer-2
Open the demo (no install)
Open index.html directly in Chrome, Firefox, or Safari (File → Open or drag the file into the window).
The page loads Three.js r170 and OrbitControls from esm.sh (rewrites addon imports so the browser never hits bare three module specifiers); you need network access the first time so the CDN modules resolve.
What it does
Single self-contained HTML: black backdrop, glass cube tank with edge outlines, water as a shallow-water heightfield inside the tank, an initial stream / pour into the top, sloshing after fill, mouse movement adds impulses to the surface when the cursor is over the water projection, orbit camera + scroll zoom, and Reset to replay the pour.
Mirrored for the results site: docs/artifacts/fishtank-water-sim/cursor-composer-2.html.
Commits a self-contained index.html under the solution and mirrors it under docs/artifacts for results site review.
Open `fishtank-water-sim/cursor-composer-2/index.html` directly in a browser, or the mirrored artifact at `./artifacts/fishtank-water-sim/cursor-composer-2.html`.