Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of grid world properties #245

Open
smarianimore opened this issue Mar 12, 2025 · 0 comments
Open

Visualization of grid world properties #245

smarianimore opened this issue Mar 12, 2025 · 0 comments

Comments

@smarianimore
Copy link

Dear MESA devs,
we are creating a custom environment inspired to the Wolf-Sheep Predation example (https://mesa.readthedocs.io/stable/examples/advanced/wolf_sheep.html)

In brief, mobile robots need to carry out collective tasks and need to communicate via pheromone traces deposited in the environment.

We modeled the pheromone value associated to each patch in the grid world using property layers.
Now we would like to visualize the pheromone value (both for debugging and for rendering example videos), however we cannot find a "proper" way to do so.
The only way we found so far is to abuse the agent abstraction by creating a "pheromone agent" in each patch of the grid world, and then rendering it (in a different way than "proper" agents---the robots).

We will probably encounter the same issue when adding obstacles and walls to our grid world: how can we rendered visually those without abusing the agent abstraction?
Is there some Solara components/methods we need to check out?

We feel we are missing something because this seems quite a basic and widely used functionality to have...(for instance, in Netlogo patches' properties can be visualized via coloring of the patches, without the need to resort to "fake" turtles)

Thanks, looking forward a kind reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant