1 2 3 4 5 6 7 8 9 10 11 12 13
extern crate gridsim; extern crate gridsim_ui; use gridsim::{SquareGrid, GOL}; fn main() { let grid = SquareGrid::<GOL>::new_true_coords( 1024, 1024, vec![(0, 1), (1, 0), (1, 1), (1, 2), (2, 0)], ); gridsim_ui::run::basic_bool(grid); }