Const
export const reactiveState = $state({ paused: true, interfaceMode: "3D View", shape: "torus", simulationSpeed: 3, atStart: true, cellGridWidth: 160, cellGridHeight: 80, dragging: false, historyStack: [], redoStack: [], simulationRule: briansBrainRule, aliasBackground: true, selectedColour: "blue", raiseCells: true, raisedCellHeight: 0.05, customColours: [], controlsVisible: true, showSettings: false, randomFillProbability: 0.5,}); Copy
export const reactiveState = $state({ paused: true, interfaceMode: "3D View", shape: "torus", simulationSpeed: 3, atStart: true, cellGridWidth: 160, cellGridHeight: 80, dragging: false, historyStack: [], redoStack: [], simulationRule: briansBrainRule, aliasBackground: true, selectedColour: "blue", raiseCells: true, raisedCellHeight: 0.05, customColours: [], controlsVisible: true, showSettings: false, randomFillProbability: 0.5,});
Source