Animating sugarscapes
Section
alias Sugarscape.Environment
Sugarscape.Environment
stop = Kino.Control.button("Stop animations")
Environment.new()
|> Environment.animate(title: "", iterations: 1000, interval_ms: 100, stop: stop)
alias Sugarscape.Environment
Sugarscape.Environment
stop = Kino.Control.button("Stop animations")
Environment.new()
|> Environment.animate(title: "", iterations: 1000, interval_ms: 100, stop: stop)