Skip to content

A Flutter experiment where Wolfram's Elementary Cellular Automaton rules are applied to generate effects on images. Inspired by Daniel Shiffman's Coding Challenge 179: Elementary Cellular Automata

Notifications You must be signed in to change notification settings

Crazelu/PixelAutomata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Automata Image Effects

In this experiment, I applied Wolfram's Elementary Cellular Automaton rules to generate effects on images. This was inspired by Daniel Shiffman's Coding Challenge 179: Elementary Cellular Automata.

Applying this concept to images, the pixels become the cells. A state of 0 indicates that the pixel's color is reset to white/clear. And a state of 1 indicates that the pixel retains its color.

Isolates are used here to preprocess every selected image and to apply the cellular automaton rules to each row of pixel resulting in generations of cells which equal the height of the image.

Some rules don't produce the desired effect. That's something to investigate.

Demo 📷

Example demo

About

A Flutter experiment where Wolfram's Elementary Cellular Automaton rules are applied to generate effects on images. Inspired by Daniel Shiffman's Coding Challenge 179: Elementary Cellular Automata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published