Wireworld

Source
element("empty", "#1a1a2e")
const wire = element("wire", "#facc15")
const head = element("head", "#3b82f6")
const tail = element("tail", "#ef4444")

          
wire.to(head).count(head, 1, 2)
head.to(tail)
tail.to(wire)

          
const wireworld = create()
Read the docs
@wonderyard/vivarium