advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Cellular Life Simulator

Author: Andrew Davey
Category: Miscellaneous
Type: Applications
Difficulty: Intermediate

Version Compatibility:  Visual Basic 6  

More information: This program demonstrates a kind of cellular activity. The cells live and die according to a set of rules:

  1. If there are less than 2 cells around a cell it'll die.
  2. If there are more than 3 cells around it, it'll die also.
  3. If there are exactly 3 cells around a blank, a new cell is born.
  4. After 10 cycles a cell dies.
Have a go at creating patterns and watching them grow! It is possible to create sustaining life cycles that repeat.

This code has been viewed 45357 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/Life.zip

Sponsored Links