projectmesa / mesa-frames

Extension of mesa for performance and scalability
https://projectmesa.github.io/mesa-frames
Apache License 2.0
14 stars 5 forks source link

Deeper integration with mesa #50

Open adamamer20 opened 3 months ago

adamamer20 commented 3 months ago

Currently there are some features that are only available in mesa (eg. visualization). While we work on refactoring those, we could have a "fallback" to convert on-the-fly a mesa-frames object to a mesa object and perform the operation. Performance would take a significant hit but it would allow for an easier transition from mesa.

rht commented 3 months ago

The data to be fed to the Solara visualization is simply a list of list, or a 2D NumPy array. The relevant code is only <50 LOC. So it should take about a day to implement. It is a Matplotlib scatter plot.

adamamer20 commented 3 months ago

The data to be fed to the Solara visualization is simply a list of list, or a 2D NumPy array. The relevant code is only <50 LOC. So it should take about a day to implement. It is a Matplotlib scatter plot.

I see, seems simple enough. I should look up a bit how solara works though.

rht commented 3 months ago

You can assign this to me. Make sure we get Sugarscape for GSoC.