Does Mesa support changing agent sizes in a continuous space? #1829
-
I'm modeling a 2D bacterial culture where the individual bacteria (agents) are initially small, circular, and tightly-packed. As they grow, they will become more cylindrical (i.e. grow faster in the Y direction than their X direction) and "push" another around. Repast can theoretically(?) do this, but I have a much stronger grasp of Python than Java and I would like to use Mesa for this task. Does anyone know if this is possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There shouldn't be any limitation in modelling the boundaries of the agents. You could do a check whether the bacteria are in collision with each other on the continuous space. You could also visualize this via Matplotlib scatter plot with the new Python-based Solara frontend that we have just added in Mesa 2.x. |
Beta Was this translation helpful? Give feedback.
#1830 implements drawing the continuous space. You can try this with the boid flockers example https://github.com/projectmesa/mesa-examples/tree/main/examples/boid_flockers,