Highlights
Mesa 3.1.1 is a maintenance release that includes visualization improvements and documentation updates. The key enhancement is the addition of an interactive play interval control to the visualization interface, allowing users to dynamically adjust simulation speed between 1ms and 500ms through a slider in the Controls panel.
Several example models were updated to use Mesa 3.1's recommended practices, particularly the create_agents()
method for more efficient agent creation and NumPy's rng.integers()
for random number generation. The Sugarscape example was modernized to use PropertyLayers.
Bug fixes include improvements to PropertyLayer visualization and a correction to the Schelling model's neighbor similarity calculation. The tutorials were also updated to reflect current best practices in Mesa 3.1.
What's Changed
🎉 New features added
🐛 Bugs fixed
🔍 Examples updated
- Wolf-sheep to use
create_agent
by @quaquel in #2543 - Shift sugarscape example to using create_agent by @quaquel in #2544
- Fix: Schelling Model Neighbor Similarity Calculation by @Sahil-Chhoker in #2518
- Change pd_grid example to use create_agents by @quaquel in #2545
- Switch sugarscape to using property layers by @quaquel in #2546
📜 Documentation improvements
- Updated docs and check_model param by @nissu99 in #2510
- Update tutorials to use
create_agents
andrng.integers
by @DarshPareek in #2541
New Contributors
- @nissu99 made their first contribution in #2510
- @DarshPareek made their first contribution in #2541
Full Changelog: v3.1.0...3.1.1