Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sophivorus/moca
Mysterious Organic Cellular Automata
https://github.com/sophivorus/moca
cellular-automata pascal-triangle
Last synced: about 2 months ago
JSON representation
Mysterious Organic Cellular Automata
- Host: GitHub
- URL: https://github.com/sophivorus/moca
- Owner: Sophivorus
- Created: 2016-05-06T03:05:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T13:46:29.000Z (11 months ago)
- Last Synced: 2024-03-20T01:00:49.221Z (9 months ago)
- Topics: cellular-automata, pascal-triangle
- Language: PHP
- Homepage:
- Size: 6.65 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mysterious Organic Cellular Automata
I was trying to create a very simple image, a sort of [Pascal's triangle](https://en.wikipedia.org/wiki/Pascal's_triangle) but adding RGB values instead of numbers (see the chromatic-pascal-triangle folder).
![Chromatic Pascal triangle](chromatic-pascal-triangle/chromatic-pascal-triangle.png)
In the way I got some cool errors:
![Chromatic Pascal triangle, error 1](chromatic-pascal-triangle/chromatic-pascal-triangle-error-1.png)
![Chromatic Pascal triangle, error 2](chromatic-pascal-triangle/chromatic-pascal-triangle-error-2.png)
![Chromatic Pascal triangle, error 3](chromatic-pascal-triangle/chromatic-pascal-triangle-error-3.png)
![Chromatic Pascal triangle, error 4](chromatic-pascal-triangle/chromatic-pascal-triangle-error-4.png)But the fourth error was different. Out of nowhere, a very complex, organic and beautiful structure emerged (moca0.png).
![MOCA 0](/moca0.png)
I did NOT expect that. I was shocked, amazed. I spent the rest of the day playing with the code, but I still can't understand it. Below are some of the most interesting results.
![MOCA 1](/moca1.png)
![MOCA 2](/moca2.png)
![MOCA 3](/moca3.png)
![MOCA 4](/moca4.png)
![MOCA 5](/moca5.png)
![MOCA 6](/moca6.png)If someone can explain to me what's going on, I'll be really thankful.
Note: I lost the code for moca1, moca2 and moca6. moca0 is just moca3 but smaller.