The State Editor - Lincoln-Cybernetics/Cellular-Explorer GitHub Wiki

The State Editor can be opened from the "Windows" menu in the Master Control Panel, after an automaton has been created. This is a description of its various functions.

The "State Editing Mode" button: puts Cellular Explorer into State Editing mode. The automaton is paused, and the display is put into State Editing mode (see Display Modes).

The "State Draw" button sets the mouse's action to draw into the current state of the cells in the automaton using the brush and tool that are selected. If part of the automaton has been selected(see Selection Tools), drawing may only occur within the selected areas.

The State Drawing Tool Selector allows you to choose what tool to use to draw into the state of the cells.

The Binary State tool (selected by default), sets the state of cells to true (state #1) if the left mouse button is used to draw. Drawing with the right mouse button sets the cells state to 0 (false).

The Age tool sets the current age of any cells with the ageing option activated that are drawn on to the value selected with the slider below the tool selector. For example, if the slider is set to 256, drawing onto cells with the ageing option will set their current ages to 256.

The Maturity counter sets the internal maturity counter of cells with the maturity option. The maturity counter determines how close a cell is to calculating a new state. When a cell's maturity counter is higher than its maturity setting, it calculates a new state. The slider below the tool selector sets what value the maturity counter will be set to.

The Interactive Mode option: if this checkbox is selected, it becomes possible to draw into the states of cells while the automaton is running.

The Check option: if this option is selected every other cell (in an alternating, checker-board pattern) will be affected by drawing. The skipped-over cells will be unaffected.

The Random option: if this option is selected while drawing, cells that are drawn over will be randomly affected by drawing.

The "Fill" Button: Fills the states of all the cells in the automaton with the selected tool/value (the tools, values, check and random options work the same as for drawing, with one exception), or if a selection has been made, the fill will only affect selected areas. The one difference between the Fill options and the drawing options is that a random fill with the Binary State tool will fill the cells with a full range of states, not just the binary states.

The "Clear" button clears the state of the entire automaton, regardless of any selections that may have been made. The states of all cells will be set to 0.

The "Invert" button will transpose all binary states of cells (1 becomes 0, and vice-versa), all numerical states are multiplied by -1.