ShnitzelKiller on DeviantArthttps://www.deviantart.com/shnitzelkiller/art/Wolfram-cellular-automata-122645473ShnitzelKiller

Deviation Actions

ShnitzelKiller's avatar

Wolfram cellular automata

Published:
3.2K Views

Description

UPDATE 3:
Black color added! This means you can erase based on a rule of your choice, and then re-run a different rule; repeating this can create some amazing patterns.
See this.

UPDATE 2:
Added the ability to choose colors! And by that I mean, you can use different colors on the same canvas, for some even more trippy stuff.

UPDATE:
Fixed the bug in which simulation would get messed up when it exceeds the boundaries.

Red = reset
white = run

I have now added the ability to define your own rules in a menu. Click the boxes below each set of three (these represent the possible pixel combinations of the three pixels that can be above any given pixel, and whether they output a white or a black pixel. By default they are all black, so you must change some). Press the white button to run. To open the menu again, press the little menu tab. You can also move it about, to complete a proper interface. The simulation pauses while your mouse hovers over the menu, allowing you to change the recursion rule in mid-simulation, or upon re-calculation. Applying two or more rules to a pixel/pixels can also produce some stunning results.



Some nice presets: (b = black, w = white)

bwbbwbbb = serpinski triangle

bbwwwwwb = chaotic right triangles

bwwbwbwb = chaotic triangles and tubes

bwwbbwwb = sideways squashed serpinski triangle

(there are 256 different rules possible).

If you find more goodies, post them! :)
Image size
1100x700px 13.23 KB
© 2009 - 2024 ShnitzelKiller
Comments31
Join the community to add your comment. Already a deviant? Log In
Billy-X85's avatar
This is interesting! Cant get much cool to come out tho :(