GithubHelp home page GithubHelp logo

shuyi-song / agentmaps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noncomputable/agentmaps

0.0 0.0 0.0 7.48 MB

Make social simulations on real maps! Agent-based modeling for the web.

Home Page: https://noncomputable.github.io/AgentMaps/

License: BSD 2-Clause "Simplified" License

JavaScript 100.00%

agentmaps's Introduction

AgentMaps - Social Simulations on Real World Maps

AgentMaps is a library for building and visualizing agent-based simulations on real world maps. Agents are arbitrarily programmable at multiple levels of granularity. They can represent people, vehicles, animals, infectious agents, and more.

AgentMaps lets you turn a map like this:

into a simulation 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 for 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.

Contagion: 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.

Plugins

IconAgents: Lets you depict agents with custom icons instead of circles.


Thank you to anyone who somehow benefits from this.

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

agentmaps's People

Contributors

noncomputable avatar lpmi-13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.