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,974
Favourites
96 (who?)
Comments
40
Downloads
799
×
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:
 
:icon101joee101:
101joee101 Featured By Owner Jun 14, 2014
I got An Infinite Cycle. Set:
Shark
Ini. Pop: 1
Starve: 1
Breed: Some really big number

Fish
Breed: 1
Ini. Pop: 4

Size: 2x2
Reply
:iconagv120395:
AGV120395 Featured By Owner Jun 6, 2014
perfect!
Reply
:iconmaxterandkiwiking:
MaxterandKiwiKing Featured By Owner Nov 22, 2013  Hobbyist Digital Artist
The first time I played, the sharks went extinct at 804 seconds.
Reply
:iconkheelaia:
Kheelaia Featured By Owner Aug 22, 2013  Hobbyist Digital Artist
2014 seconds!
Reply
:icongonernow:
gonernow Featured By Owner Jan 14, 2013
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 Featured By Owner Oct 18, 2012  Hobbyist Artist
1629 seconds!
Reply
:iconroxie-the-charizard:
Roxie-the-Charizard Featured By Owner Aug 21, 2012
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 Featured By Owner Oct 30, 2011  Student General Artist
this is so cool
Reply
:iconproudgeek8:
Proudgeek8 Featured By Owner 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:
awes132 Featured By Owner Aug 29, 2010
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
Add a Comment: