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:

  1. Clean and Restore Three Ocean Zones: Players dive across three progressively deeper environments.
  2. 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.
  3. Rescue Trapped Wildlife & Open Giant Pearl Clams.
  4. Upgrade Diver Gear: Recycled Eco-Coins can be invested at the surface boat to upgrade appliances.

Challenges we ran into

  1. Rendering Custom Art & Silhouettes Without External Assets.
  2. Synchronizing Dynamic Color Transitions Across Purity & Day/Night Cycles.

How you built your project

  1. Single-File HTML, CSS and JavaScript Architecture.
  2. Underwater Physics, Unified Controls, Web Audio, and Lighting Masks.

Accomplishments that we're proud of

  1. Project runs smoothly in any desktop or mobile browser from a single standalone HTML file.
  2. Procedural Visuals & Soundscape.
  3. HTML was something we specifically wanted to work with so it was nice discovering more of its capabilities.

What we learned

  1. We learned that it is completely possible to create a full, playable game inside a single HTML file.
  2. 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.

Share this project:

Updates

Submission history