Skip to content

Render tiles' properties like NetLogo #2726

@smarianimore

Description

@smarianimore

Dear devs,
in Netlogo you can assign properties to patches and then color patches, and in general change their appearance in some ways (e.g. their color)

We are not finding an easy way to do in MESA.

We know that we can add properties to tiles with property layers, but we are having trouble rendering those properties in a graphic way.

For instance, what if we want to create a maze with walls? We'd like to visualize walls by colouring them.
What if we want to color the tiles differently based on some properties?
We browsed the code and the documentation but did not find anything at the moment...

For agents there is a function you can pass to render them, but for tiles you can only pass a static dictionary, not a function to update their rendering...

Are we missing something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions