Loading coral reef…

Interactive 3D lab · free · in 6 languages

Coral reef online: an interactive 3D biology and ecology lab

In this 3D lab you swim inside a tropical coral reef and tap corals, a sea anemone, clownfish, a parrotfish, a sea turtle, a reef shark, a jellyfish and a sea star to study them. A school of chromis moves by the three rules of the Boids model, and if you raise the water temperature the corals bleach and the fish thin out.

The lab fits biology and ecology lessons on ecosystems, symbiosis, food chains and climate change: a teacher can show it on a projector or an interactive whiteboard, and students can complete the challenges at home. Every species card gives the Latin name, diet, size and facts with exact numbers.

What's in the lab

  • 9 clickable species: coral polyps, sea anemone, clownfish, parrotfish, a chromis school, green sea turtle, blacktip reef shark, moon jellyfish, and a sea star with a sea urchin.
  • A school of up to 110 fish is tuned with the Cohesion, Separation and Alignment sliders, and Show rule vectors draws the forces acting on the highlighted fish.
  • The 🦈 Shark approach! button makes the school burst apart in a flash expansion and regroup once the shark has passed.
  • Water temperature runs from 24 °C to 33 °C: above 29.5 °C the corals lose their zooxanthellae algae and bleach, and at 28.5 °C or below they slowly recover.
  • The Formulas panel shows pressure at 8 m depth (p = p₀ + ρ·g·h ≈ 1.79 atm), zooxanthellae density, the calcification reaction and a 4-level food chain following the 10% rule.
  • 5 challenges, a guided tour of 7 species and underwater sound; completed challenges are saved in the browser.

How to use the coral reef lab

  1. 1Tap a reef species. Tap a fish, the turtle, the shark or a coral to open a card with its Latin name, diet, size and 3 facts.
  2. 2Steer the fish school. Move the Cohesion, Separation and Alignment sliders and turn on the rule vectors. Then press 🦈 Shark approach! and watch the school scatter.
  3. 3Heat the water, then cool it. Raise the temperature to 31–33 °C and watch the bleaching percentage, zooxanthellae and fish count change. Then cool the water to 27 °C or lower to save the reef.
  4. 4Complete the challenges. Work through the 5 challenges in order under Challenges, and open the Food Chain to see how much energy reaches each level.

Frequently asked questions

Is the lab free, and do I need to sign up?

Yes, it is free and needs no sign-up. It runs right in the browser, so there is nothing to install.

Does it work on a phone or tablet?

Yes. Tap a species to select it, drag with one finger to orbit the reef and pinch to zoom. The panels adapt to small screens, and on a projector you can show the lab to the whole class.

Why do corals bleach?

Microscopic algae called zooxanthellae live inside coral tissue and feed it energy from sunlight. When the water gets warmer than about 30 °C, the algae produce harmful reactive oxygen and the coral expels them, leaving its white CaCO₃ skeleton exposed and the reef fish without shelter. If the water cools in time, the algae return and the reef recovers.

How does a fish school move together without a leader?

In Craig Reynolds' Boids model each fish only watches its nearest neighbours: it avoids bumping into them (separation), matches their heading (alignment) and is drawn to the group's centre (cohesion). Those three simple rules are enough to make the whole school move like one organism.

Why doesn't the anemone sting the clownfish?

The clownfish is covered in a thick layer of mucus, so the anemone's stinging capsules (nematocysts) do not fire. It is mutualism: the anemone protects the fish from predators, and the fish chases away animals that would eat the anemone.

More 3D labs