2018-09-04 18:34:30 -04:00
2018-08-31 17:57:39 -04:00
2018-09-04 18:34:30 -04:00
2018-06-05 14:50:01 -04:00
2018-06-04 22:50:25 -04:00
2018-08-31 18:38:32 -04:00
2018-09-04 11:44:49 -04:00
2018-09-01 13:44:43 -04:00

AgentMaps - Social Simulations on Interactive Maps

AgentMaps is a Javascript library for building and visualizing dynamic social systems on maps. It is based on the Leaflet interactive mapping library. Given a neighborhood, AgentMaps lets you quickly and easily:

  • Build units along the streets.
  • Spawn agents onto the map.
  • Schedule them to move between places on the map.
  • Change their appearance and properties.

AgentMaps lets you turn this:

into something like this:

You can install it via npm (npm install agentmaps) and bundle it yourself, or you can get a premade bundle here to include directly in a webpage. You'll need to include Leaflet separately.

Documentation

Docs for people who want to use AgentMaps are available here.

Docs people who want to understand its internals are here.

A basic walkthrough for creating an AgentMaps simulation can be found here.

Demos

Simple: Shows all the different ways agents can travel around a map.

Epidemic: Agents commute between different parts of a neighborhood while an infection spreads between them.

You can find the corresponding code under /demos in the gh-pages branch here.

Authors

  • Andrew - came up with & built AgentMaps

Acknowledgements

I've only had a few extended conversations talking and thinking about this project outloud over the last few months, and those probably influenced how I went forward with it. The people I've had those discussions with are:

  • I. ("Wheels") Errati
  • M. ("dont ask me, ask gagan") Singh

Thank you to anyone who somehow benefits from this.

AgentMaps: Geospatial Agent-based Modeling and Simulation for JavaScript.

Description
Make social simulations on real maps! Agent-based modeling for the web.
Readme BSD-2-Clause 8.3 MiB
Languages
JavaScript 100%