Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crazelu/pixelautomata

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
https://github.com/crazelu/pixelautomata

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Pixel Automata Image Effects

In this experiment, I applied [Wolfram's Elementary Cellular Automaton](https://mathworld.wolfram.com/ElementaryCellularAutomaton.html) rules to generate effects on images. This was inspired by Daniel Shiffman's [Coding Challenge 179: Elementary Cellular Automata](https://youtu.be/Ggxt06qSAe4?si=hNo6Gik9pA86_iNg).

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