gridsim-ui 0.4.1

Visualizing gridsim grids
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate gridsim;
extern crate gridsim_ui;

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

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