Versions in this module Expand all Collapse all v0 v0.4.1 Aug 3, 2026 v0.4.0 Aug 1, 2026 Changes in this version + const Version v0.1.0 Aug 1, 2026 Changes in this version + type Sim struct + Engine *automaton.Engine + Grid *automaton.Grid + Interp *script.Interpreter + World *world.World + func Life(w, h int) *Sim + func NewRule(w *world.World, rule any, g *automaton.Grid) *Sim + func NewScript(w *world.World, prog *script.Program, g *automaton.Grid) *Sim + func NewVisualRule(w *world.World, rule *visualrule.VisualRule, g *automaton.Grid) *Sim + func (s *Sim) At(x, y int) automaton.Cell + func (s *Sim) ColorAt(x, y int) color.RGBA + func (s *Sim) KindAt(x, y int) int + func (s *Sim) Program() *script.Program + func (s *Sim) RunUntil(g goal.Goal, maxTicks int) (bool, int) + func (s *Sim) Set(x, y int, c automaton.Cell) + func (s *Sim) SetKind(x, y int, k int) + func (s *Sim) Size() (w, h int) + func (s *Sim) Step() + func (s *Sim) StepN(n int) int + func (s *Sim) Tick() uint64 + func (s *Sim) Truncated() bool + func (s *Sim) VisualRule() *visualrule.VisualRule