Giter Site home page Giter Site logo

the-leonat / antsim Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 25.71 MB

antsim is a multi agent simulation, which tries to emulate the trailfinding behavior of ants, which interact via scent and tactile sensors.

Python 7.71% JavaScript 41.45% CSS 32.12% HTML 8.54% Jupyter Notebook 10.18%

antsim's Introduction

antsim

antsim is a multi agent simulation, which tries to emulate the trailfinding behavior of ants, which interact via scent and tactile sensors.

Install

git clone https://github.com/leonard0x/antsim.git
cd antsim
pip install -r requirements.txt

Usage

python Simulator.py

  • r (record)

  • rt (time in seconds to record)

  • rs (record every nth step)

  • f (filename)

  • ac (ant count)

  • bs (buffer size) the number of simulated frames which will be in ram at a time

  • v (view)

  • live (shows the data right away)

Example

python Simulator.py -r -v -rt 60 -rs 5 -f test.hdf5

Simulates for 60 seconds, saves every 5th step to file test.hdf5 and shows it afterwards

Example 2

python Simulator.py -live -v -ac 100

You can also simulate live with the command. this wont save to a file, but display the simulated data right away. 

Viewer

press [space] for play and pause, scroll [up] and [down] to change the view angle. you can also interactively change parameters of config.yml in live mode.

antsim's People

Contributors

philippguenther avatar the-leonat avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

antsim's Issues

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.