Virtual Aquarium
Watch the fish swim. Tap the water to drop food. Every so often, something unusual passes by.
Embed this aquarium
Copy this code into your own web page. Your visitors get the aquarium, free. Nothing you or they enter or upload ever leaves the browser.
What is happening in the tank
Everything you see is drawn live on a canvas by the page itself, with no video or image files behind it. Each fish is generated with its own random size, speed, depth and pair of colours. Bigger fish move more slowly than smaller ones, which is why a mixed tank feels natural. A fish swims in one direction, and when it leaves one edge it re-enters from the other side at a new depth. Movement is scaled by elapsed time, so speed does not depend on how fast your screen refreshes.
The random choices come from a small seeded generator that is started from a different seed each time you load the page. That means no two tanks are alike, and it also lets the project test the fish and visitor logic with repeatable seeds. It is a drawing aid, not a security feature.
The controls
- Fish slider: anything from 4 to 40 fish. Start with 16 for a balanced look, go lower for a quieter tank, or higher for a crowded reef.
- Tap or click the water: drops five food flakes that sink slowly. Nearby fish turn toward them and eat. Flakes that miss everyone sink out of view near the bottom.
- Rare visitors checkbox: turns the occasional special animal on or off.
- Call a visitor: brings one right away instead of waiting for the timer.
- Pause: freezes the scene. Full screen: fills the display.
How often do visitors appear?
With rare visitors enabled, a new one is scheduled after a random wait of 25 to 70 seconds, so the average gap is a little under 50 seconds. Which animal comes is weighted rather than equal. Out of every ten visitors, you should expect roughly four moon jellyfish, three seahorses, two manta rays and one anglerfish. That makes the anglerfish the real rarity: it appears about one visit in ten, and a long session is the best way to catch several of them.
Ways to use it
- A calm background. Open it full screen on a second monitor or a TV while you work or relax.
- Waiting rooms and shops. The tank has no sound, no text to read and no controls that need attention, so it suits a display screen. Use the embed code on the page to add it to your own site.
- With children. Younger children enjoy dropping food and waiting for the next visitor to turn up. A label names each animal, which makes a good prompt to look it up together.
- Focus breaks. A minute of watching slow motion can be a pleasant pause between tasks.
Performance tips
- If an older device stutters, lower the fish count. Fewer fish means less drawing on every frame.
- On a laptop or phone running on battery, pause the tank or close the tab when you are away.
- If you only want the picture, use full screen and leave the controls hidden.
More questions
Do the fish ever eat each other?
No. They only swim and chase food flakes. It is a decoration, not a game.
Will the same fish stay in the tank?
Fish keep circling through the tank while the page is open. When you reload, a new set is created.
Can I put it on my own website?
Yes. The embed box above has a ready-made snippet that you can paste into a page. It loads the aquarium in a frame.
Related tools
- Photo clock for another full-screen display that suits a spare tablet.
- Spin the wheel for a quick, playful way to choose between options.
- Countdowns to count down to an event you are looking forward to.
About the aquarium
This is a quiet, calm fish tank for your screen. Fish of many colours swim back and forth, bubbles rise, and plants sway in the current. Click or tap the water to scatter food, and nearby fish will swim over to eat it. There is no sound, no score and nothing to win.
It works well full screen on a spare monitor, a TV or a tablet. If your device is set to reduce motion, the tank moves more slowly.
Rare visitors: a short field guide
About once a minute, a less common animal drifts across the tank. A label tells you which one. You can also press Call a visitor.
- Moon jellyfish: a jellyfish has no brain, heart or bones, and its body is mostly water. It pulses its bell to move slowly through the sea.
- Seahorse: the male carries the eggs in a pouch on his belly and gives birth to the young. Seahorses swim upright and are slow swimmers.
- Manta ray: one of the largest rays, with a wingspan that can exceed seven metres in the biggest species. It filters tiny plankton from the water and glides by flapping its wide fins.
- Anglerfish: a deep-sea fish. The female of many species carries a glowing lure on a stalk above her mouth, which attracts prey in the dark. The light comes from bacteria living in the lure.
The drawings are simple illustrations, not scientific portraits.
Frequently asked questions
Does it make sound?
No. The aquarium is silent.
Will it drain my battery?
It draws animation continuously, so a phone or laptop on battery will use more power. Pause it or close the tab when you are not watching. Browsers also stop animating a tab that is hidden.
Can I have more fish?
Use the Fish slider for anywhere from 4 to 40 fish.
Is anything saved or uploaded?
No. Everything is drawn in your browser and nothing is stored.