Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
November 26, 2005
Image Size
21.5 KB
Resolution
800×800
Thumb

Stats

Views
17,462 (1 today)
Favourites
95 (who?)
Comments
38
Downloads
789
×
Based on an article by A. K. Dewdney ("Sharks and Fish on the Planet Wa-Tor"), this is a simple ecology simulation.

In this simulation, fish swim and reproduce while sharks swim, reproduce, and eat the fish.

About the parameters...

Breed Time: How old a fish or shark needs to be before it will reproduce. (On Wa-Tor, fish and sharks all reproduce by parthenogenesis, like amoebae.)

Starve: How long a shark can go without eating before it will starve to death.

Initial Population: The total number of each species with which to start the simulation.

World Size: The world wraps around so that, when a fish or shark swims off an edge, they come back on the opposing edge. The world can be anywhere from 2x2 to 20x15.

What parameters will provide a self-sustaining eco-system in which the sharks never hunt the fish to extinction but never starve to extinction themselves?

The original program Dewdney described in the article, back in the mid-1980's, used a simple text display in a grid with 0 . and * to indicate sharks, water, and fish.

Update: The simulation has been updated to remove the upper limit on world size. Very large worlds may cause the simulation to slow down but think about experimenting with the effect using larger worlds or long, thin worlds.
Add a Comment:
 
:iconmaxterandkiwiking:
MaxterandKiwiKing Nov 22, 2013  Hobbyist Digital Artist
The first time I played, the sharks went extinct at 804 seconds.
Reply
:iconkheelaia:
Kheelaia Aug 22, 2013  Hobbyist Digital Artist
2014 seconds!
Reply
:icongonernow:
Have you had any requests from fish scientists or biology teachers to do other simulations? This could be a very good learning tool.
Reply
:iconsilverclawpetshop:
SilverclawPetShop Oct 18, 2012  Hobbyist Artist
1629 seconds!
Reply
:iconroxie-the-charizard:
Very interesting. In my case sharks got overpopulated, the fish almost got excint, but then most sharks starved to death so fish started populating again. And then sharks got overpopulated again, and it became a big endless cycle.
Reply
:icondetrimentality:
Detrimentality Oct 30, 2011  Student General Artist
this is so cool
Reply
:iconproudgeek8:
Proudgeek8 Jan 5, 2011
it seems as if this could be rather useful for some science classes, because of the way it shows the basic predator-prey patterns (Predator rises, prey falls, predator falls, prey rises, predator rises......)
Reply
:iconawes132:
i parameters wich will make it last forever or at least that long that you cant watch it till the end
shark
ini. population 1
starve 1
breed 9999999 or something less but still incredible high
fish
ini. population = rest of tiles
breed 1
Reply
:iconsonicfan570130:
SonicFan570130 Aug 15, 2010  Hobbyist Writer
Over 4000 seconds~
Fish:
Breedrate- 2
Original population- 120
Sharks:
Breedrate- 20
Starve- 1
Original population- 40
Size: 40 X 15
Reply
Add a Comment: