Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/crazelu/pixelautomata
- Owner: Crazelu
- Created: 2024-01-21T00:53:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-21T00:55:15.000Z (10 months ago)
- Last Synced: 2024-10-09T09:02:20.588Z (about 1 month ago)
- Language: Dart
- Size: 2.73 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 📷