Inspiration
Marine pollution, such as drifting plastic bags, leaking oil drums, and abandoned ghost fishing nets, threatens ocean ecosystems every day, yet environmental statistics often feel distant on a screen. We wanted to build an interactive experience where players can directly restore a polluted reef and watch marine wildlife return in real time.
What it does
Dive & Purify is a browser-based underwater cleanup, exploration, and wildlife discovery game:
- Clean and Restore Three Ocean Zones: Players dive across three progressively deeper environments.
- Watch the Ecosystem Come Back to Life: As players recycle trash at the surface Eco-Skimmer Research Vessel, the zone's Ocean Purity rises from 0% to 100%. Bleached corals and kelp forests bloom with color.
- Rescue Trapped Wildlife & Open Giant Pearl Clams.
- Upgrade Diver Gear: Recycled Eco-Coins can be invested at the surface boat to upgrade appliances.
Challenges we ran into
- Rendering Custom Art & Silhouettes Without External Assets.
- Synchronizing Dynamic Color Transitions Across Purity & Day/Night Cycles.
How you built your project
- Single-File HTML, CSS and JavaScript Architecture.
- Underwater Physics, Unified Controls, Web Audio, and Lighting Masks.
Accomplishments that we're proud of
- Project runs smoothly in any desktop or mobile browser from a single standalone HTML file.
- Procedural Visuals & Soundscape.
- HTML was something we specifically wanted to work with so it was nice discovering more of its capabilities.
What we learned
- We learned that it is completely possible to create a full, playable game inside a single HTML file.
- HTML5 Canvas 2D Compositing and how it allows for rich visuals and shapes.
What's next for Dive & Purify
We'd like to incorporate Active Coral Restoration and New Biomes: Introducing coral-planting nurseries where divers replant coral fragments, alongside new zones like sunken shipwrecks and polar reefs.