Commit Graph

4 Commits (221f490d12be91caaaf4f6edb6c058e742403c9b)

Author SHA1 Message Date
Michael Brehm 1b59ad2fc9 use GLMakie to make it interactive.
set values, which are same for every agent as model parameters, so they can be changed in interactive app
2024-05-29 15:59:09 +02:00
Michael Brehm 42f79b0026 add perception to wolf and sheep. Adjust movement logic 2024-05-27 13:36:41 +02:00
Michael Brehm f0bfe3cb87 move some logic into their own funcs(move,eat,reproduce) 2024-05-16 14:30:45 +02:00
Michael Brehm 0165c839cd add example from Agents.jl
https://github.com/JuliaDynamics/Agents.jl/blob/main/examples/predator_prey.jl
2024-05-13 11:07:38 +02:00