cellular_automata_web

Pub Package Version Latest Dartdocs

Library containing various web renderers for the cellular_automata Dart package.

Web demos

Play with the hosted demos here. Source code is in the demos/ folder.

Renderers

  • CanvasRenderer : HTML Canvas renderer, this is the recommended renderer for web.
  • StageXLRenderer : WebGL renderer although in this context not quite as performant as Canvas.
  • HtmlTableRenderer : A HTML table using table cells & css (just for fun!)

Build config

For best perfomance ensure that you set --omit-implicit-checks and --trust-primitives as dart2js arguments in your build config. See the demo release config for an example of this.

Libraries

cellular_automata_web.renderers.canvas
The web Canvas renderer
cellular_automata_web.renderers.html_table
The web HTML table renderer
cellular_automata_web.renderers.stage_xl
The web StageXL renderer