A Claude Fable 5.2 Showcase: An Underwater World in One HTML File
Abyssal Garden is an underwater world you can explore in your browser. Try the experience, browse its open-source code, and learn how to build an interactive scene of your own.
Explore Abyssal Garden online · View the source on GitHub
Here is a project made with Claude Fable 5.2: Abyssal Garden. It puts kelp forests, sunlight, a shipwreck, schools of fish and underwater caves into a single HTML file. Open the page to explore a small underwater world freely.
Try the finished experience first. If you would like to make something similar, the project is open source: read the code, download and run it, or modify the scene to create your own version.
Select “Start exploring” to try the scene inside this article, or follow the link above to open the full demo.

Explore directly in the article. On phones, try landscape orientation and full screen. If the scene does not appear, stop the demo and load it again.
Screenshot from Noniv / abyssal-garden. Credit remains with the original author; the project uses the MIT license.
Open it and see what it can do
Visit the online experience, wait for the scene to load, then click Dive in to start exploring.
Watch kelp sway in the current, sunlight stream through the surface, and fish and manta rays pass a sunken wooden ship. Swim into caves with purple glowing vegetation to see how the lighting and atmosphere change.
One useful aspect to study is that the visuals and sound are generated in code, without prepared images, 3D models or audio files. The project renders directly with WebGPU and synthesizes sound with the Web Audio API, without a game engine or 3D library.
For the best first experience, use a recent version of Chrome or Edge on a computer. WebGPU support is required. If you see “This scene needs WebGPU”, update your browser or use one that supports it. Mobile touch controls are experimental, and performance depends on the device.
Controls
| Action | Control |
|---|---|
| Look around | Move the mouse |
| Swim | W / A / S / D |
| Ascend / descend | E / Q |
| Speed up | Hold Shift |
| Switch preset views | Number keys 1–6 |
| Open menu | Esc |
| Toggle sound | M |
On a phone, hold one finger to swim forward and slide it to look around; add a second finger to speed up. Choose Low, Medium or High quality in the menu. Refer to the project's current instructions for the latest controls.
Where to start learning from the code
The source is more than an opaque bundled file. Its source directory is split by function:
| What to explore | Source file |
|---|---|
| Underwater layout, kelp, fish and shipwrecks | world.js |
| Water colors, fog, lighting and surface effects | shaders.js |
| Camera, controls and rendering | main.js |
| Synthesized underwater ambience | audio.js |
| Quality settings for different devices | quality.js |
You do not need to understand everything at once. Start with world.js to see how the scene is assembled, then pick a small goal: change the water color, adjust the lighting, or modify the swimming speed.
Download it and make your own version
To try it offline, download index.html from the repository and open it in a browser with WebGPU support.
To edit the source and build your own page, install Node.js 18 or newer, then run:
git clone https://github.com/Noniv/abyssal-garden.git
cd abyssal-garden/source
npm install
npm run build
The build generates a new index.html at the repository root. For an unminified version that is easier to debug, run npm run build:readable.
You can also give the source to an AI assistant. Ask it to explain the structure first, then make one focused change:
First explain the roles of world.js and shaders.js in this project. Then help me change the water to a deeper blue. Keep the existing controls and scene structure, explain the changes, and show how to rebuild and verify the result.
This lets you compare a working example with its implementation and gradually add your own ideas.
Original project and license
The author is GitHub user Noniv. This article shares the project as a showcase and learning reference:
The MIT license permits use, modification and redistribution. Copies and derivative distributions must retain the original copyright and license notice. Check the original repository for current running instructions and compatibility information.