11 releases
| 0.4.1 | Jul 18, 2019 |
|---|---|
| 0.4.0 | Jul 7, 2019 |
| 0.3.1 | Jul 21, 2018 |
| 0.2.3 | Jul 17, 2018 |
| 0.1.0 | Jan 5, 2018 |
#612 in Visualization
15KB
325 lines
gridsim-ui
Visualizing gridsim grids
Example
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);
}
See examples/langtons_ant.rs for how to define a Rule.
See evomata12 for how to define a Sim.
Dependencies
~11–21MB
~302K SLoC