Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Animating sugarscapes

livebook/animation.livemd

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)