Message Boards Message Boards

0
|
2686 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Cellular automaton function visualization

Posted 7 years ago

Hello everyone! I'm new to the forum and to introduce myself: I'm studying in high school, I'm 16 years old. I'm not quite keen on maths as much as I am on computer science. I'll post my first awesome-looking function I've ever done.

This is my first cellular automaton function I have implemented ever, and it's in Mathematica. I know that there exists the CellularAutomaton function, but I'd just like to implement one of my own for my Computer Science project. The whole thing is in the attachment.

I understand that there's a crude implementation of the switch-case, and the if-then clause using the KroneckerDelta to give a Boolean-like value. I think the coolest thing about it is the fact I've made my first cellular automaton function and it uses KroneckerDelta to implicitly implement if-then instead of procedural clauses.

Also, my prose seem to get truncated at the end, so I am adding this filler line of text so it doesn't eat up my important prose abo

Attachments:
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract