gridsim-ui

Crates.io MIT/Apache docs.rs LoC

Visualizing gridsim grids

Example

```rust extern crate gridsim; extern crate gridsim_ui;

use gridsim::{SquareGrid, GOL}; use gridsim_ui::Loop;

fn main() { let grid = SquareGrid::::newtruecoords( 1024, 1024, vec![(0, 1), (1, 0), (1, 1), (1, 2), (2, 0)], ); Loop::new_bool().run(grid); } ```

See examples/langtons_ant.rs for how to define a Rule.

See evomata12 for how to define a Sim.