OZONE Asylum
Forums
DHTML/Javascript
20 Liners - September 08 - Simulation
This page's ID:
30515
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Perhaps not the most interesting thing to watch but here's: [url=http://www.kaarellumi.com/asylum/html/sim3.htm?food=200&bacs=10&bx=125&by=125&r=35]Bacteria simulator[/url] which has nothing to do with biology ^^. Feel free to play around with the get parameters. 'food' is the amount of food (the green things), 'bacs' is the amount of initial bacteria (the smaller red things), bx and by are the starting coordinates for the initial patch of bacteria, 'r' determines the maximum distance between the bacteria when it splits. So ... the red things eat the green things and thus become gradually more red, when they are full, they reproduce and when they're hungry they become gradually fainter until they die and become these little gray dots. Green things diminish and ultimately disappear as they are being eaten. When a red thing divides into 2 bacteria both are half full and the new one appears up to r pixels away from the old one in a random direction.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »