DvorakDwarf / firefly-automaton

A cellular automata simulation of the way fireflies sync their flashes together in the wild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefly syncronization

full_length

A cellular automaton simulation of the way fireflies sync their flashes together in the wild. Firefly model inspired by this Wired article. I just thought it would look neat and in my humble opinion I was right. It looks kind of life a screensaver, maybe it would work on wallpaper engine. The project is entirely written in Rust (my beloved).

Installation

You need Rust installed and I believe that's it

  1. https://github.com/DvorakDwarf/firefly-automaton.git
  2. cd firefly-automaton
  3. Edit parameters for the simulation in constants.rs if you want
  4. cargo run --release
  5. PROFIT

You may do what you want with this, but credit would be much appreciated. Reach out to me on Discord if you have any questions: histidinedwarf.

About

A cellular automata simulation of the way fireflies sync their flashes together in the wild

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%