Creating a 2D Cellular Automata with Modifications

  • Thread starter Thread starter farful
  • Start date Start date
  • Tags Tags
    Automata
Click For Summary
SUMMARY

The discussion focuses on creating a two-dimensional cellular automata (CA) with specific modifications, including square-shaped cells that have eight neighbors and the ability to represent at least eight states. The user expresses a preference for visual appeal and ease of programming, suggesting FreeBasic for its simple graphics library and recommending Mirek's CA program for its extensive features. The conversation emphasizes the need for custom rules regarding cost, selection, and initial state, highlighting the limitations of using Matlab for this purpose.

PREREQUISITES
  • Understanding of two-dimensional cellular automata concepts
  • Familiarity with FreeBasic programming and its graphics library
  • Basic knowledge of cellular automata rules and states
  • Experience with graphical programming libraries like Allegro
NEXT STEPS
  • Explore FreeBasic for creating graphical applications
  • Research Mirek's CA program for implementing various cellular automata types
  • Learn about cellular automata rules and how to implement them in code
  • Investigate Allegro for creating ASCII graphics in programming projects
USEFUL FOR

Individuals interested in programming cellular automata, including hobbyist developers, educators in computational theory, and anyone looking to visualize complex systems through graphical representations.

farful
Messages
55
Reaction score
1
I'm looking to create a two-dimensional cellular automata. And I suck at programming, esp if graphics are involved. Is there anything out there where you can program the rules for a CA and I can just let it run whilst watching it? I will need some extensive modifications...

Requirements of modifications I willl need:
1) two dimensional
2) cells are square-shaped (such that they have 8 neighbors)
3) each cell must allow at least 8 states (represented by different colours or whatever)
4) rules for cost
5) rules for selection
6) rules for initial state
7) I'm really not sure what else yet!

I've often used Matlab, to create cells using a vector/matrix, and used numbers, 0, 1, 2, etc, to change the state of a cell... but it's clearly not as pretty nor fun to watch :(
 
  • Like
Likes   Reactions: Milan Bok
Technology news on Phys.org
Do you know C or Basic programming? If so, you can write a console version of Conway's game of life in less than 100 lines. I don't know anything about Matlab, but I know that FreeBasic is very easy to use and has a simple graphics library. It might work if you are new to coding.
 
If you are allowed to us another program, I suggest:

http://www.mirekw.com/ca/index.html

If you have to program it yourself, I would suggest just doing some simple (ASCII graphics using Allegro would be easy enough).

As to the link, that program is one of the greatest because it has so many different types of CA's, 1D's and 2D's, as well as numerous variants (such as generations). Overall, I doubt you will find a better free program to do what you want short of you making it yourself.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
29
Views
6K
Replies
2
Views
3K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 26 ·
Replies
26
Views
6K