NewsCrawler.org

Abyssal Garden: an underwater world you can swim through in the browser

Kelp forest with a stone whale tail and a manta ray
A dreamy underwater world you can swim through in your browser: swaying kelp forests, sunbeams, a sunken ship and manta rays. Everything is generated by code with WebGPU (no images, models or sound...
The purple grotto
Image: github.com

Abyssal Garden is an open-source project by Noniv on GitHub: a dreamy underwater scene you can swim through in the browser, with kelp forests, sunbeams, a sunken ship, manta rays and a purple grotto. Everything is generated by code with WebGPU[1], with no images, 3D models or sound files, and the whole world fits in one HTML file. Nothing needs to be installed and it works offline, but the browser must support WebGPU, so the author recommends Chrome or Edge on a desktop computer.

On a touchscreen, you hold one finger down to swim and add a second finger to go faster. The seabed, cliffs and arches are solid, so you glide along the rock instead of swimming into it. The menu offers Low, Medium and High detail levels, and if loading crashes the tab, the page restarts one level lower.

The sound is synthesized live with the Web Audio API[2]. The readable source code is in a source folder, and the project is licensed under MIT. According to the README, the scene runs at about 180 fps at 2560×1440 on an RTX 5070 Ti, and on a low-end Samsung Galaxy A16 phone it reaches about 20 fps at 670×372 on Low.

Repository abyssal-garden github.com

An open-source browser scene you can swim through, with kelp forests, a sunken ship and manta rays, all generated by code with WebGPU.

Stars: 2,707Forks: 402License: MITUpdated:

Read the original github.com

Discussion

Commenters mostly discuss adding VR. One commenter added WebXR[3] VR support, tested it on a Meta Quest 2 through SteamVR, and opened pull request #1 with the code, plus a YouTube demo. Another suggested using the project to test how far demo scenes can push hardware, but noted that the harness competes for the same resources and suggested running it from a distance or in a virtual machine.

Sources

  • github.com

    GitHub - Noniv/abyssal-garden: A dreamy underwater world you can swim through in your browser: swaying kelp forests, sunbeams, a sunken ship and manta rays. Everything is generated by code with WebGPU (no images, models or sound files), all in a single 97 KB HTML file.

    4 mentions3 communities1 country

First seen: Читать по-русски

Open as a page