Skip to content

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

License

Notifications You must be signed in to change notification settings

DvorakDwarf/firefly-automaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages