cellular_automata 0.2.0 copy "cellular_automata: ^0.2.0" to clipboard
cellular_automata: ^0.2.0 copied to clipboard

outdatedDart 1 only

A cellular automata library & playground

Cellular Automata #

A cellular automata library / playground written in Dart. Happily accepting pull requests! ^_^

Features #

  • Generators to seed the simulation
  • Current renderers:
    • StageXL: WebGL, fullscreen support

Implemented rules/simulations #

  • Conway's Game of Life

Demos #

See the demos/ folder for demos. You can try the hosted demos here.

Performance #

Dartium performance is significantly faster than compiled performance at the moment. Also there are some generator defects that are yet to be resolved. To try and increase use the trust-type-annotations flag in your pubspec:

transformers:
- $dart2js:
    checked: false
    minify: true
    commandLineOptions: ['--trust-type-annotations', '--trust-primitives']

Roadmap #

  • Add tests
  • Performance information
  • Implement additional CA rules (Brain, Voting, WireWorld etc)
  • Detect stale simulations for reset / next
  • Playlist of simulations
  • Transitions for switching between two simulations
  • Multiple simulations/rule-sets running in a single scene
  • Generated color palettes
  • Simulation controls (pause, reset, speed etc)
  • Interactive mode (edit mode)
  • Analysis tools (histograms for state counts)
  • Add an LED Matrix renderer for raspberry pi using GPIO pins
  • Flutter renderer
  • CLI renderer
  • Infinite world size support

Licence #

Please see the cellular_automata license.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A cellular automata library & playground

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

stagexl

More

Packages that depend on cellular_automata