Golly displays in the status bar the total number of cells in a non-zero states (called "population") . I am experimenting with some three state rules, and I would like to know how many cells are in sate 1 and in state 2. Is it possible to display these numbers in the status bar, with lua scripting or otherwise?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the grid size is reasonable small, just enumerating all cells is fairly easy to do with a Lua script. See attachment for an example. Note that the output message shows up in the status bar on the top left (under "Generation=...").
Golly displays in the status bar the total number of cells in a non-zero states (called "population") . I am experimenting with some three state rules, and I would like to know how many cells are in sate 1 and in state 2. Is it possible to display these numbers in the status bar, with lua scripting or otherwise?
If the grid size is reasonable small, just enumerating all cells is fairly easy to do with a Lua script. See attachment for an example. Note that the output message shows up in the status bar on the top left (under "Generation=...").
Maks,
Thanks a lot, this is exactly what I needed. Is there a way to execute this script automatically every time step?