Code Monkey home page Code Monkey logo

Antificial

Antificial is a real-time swarm simulation framework with real-time user interaction.

Screenshot

Demo Screenshot

Download

Usage

It is recommended to use virtualenv with this project.

$ git clone https://github.com/Antificial/antificial.git
$ cd antificial
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ cd antificial/
$ python main.py

Known Errors

Cython is missing, it's required for compiling kivy!:

This likely occurs after trying to install the requirements through pip. Please pip install Cython and then try again.

No module named 'cv2':

Likely occurs after trying to start the program for the first time. Sometimes when creating a virtual environment, python does not copy the link to OpenCV, so it has to be done manually afterwards. The original link can be found in the site-packages of the respective original python installation, e.g. /usr/local/lib/python3.6/site-packages/cv2.so.
To re-establish the link in the virtual environment, simply copy the link into it like this, then run the program again:
cp /usr/local/lib/python3.6/site-packages/cv2.so venv/lib/python3.6/site-packages/cv2.so.

command 'clang' failed with exit status 1 while installing Kivy:

This is due to recent changes in Cython and Kivy. Installing the master version (1.10.1.dev0) fixes the error:
pip install https://github.com/kivy/kivy/archive/master.zip

ImportError: numpy.core.multiarray failed to import:

Numpy wasn't installed correctly. This can be fixed by manually installing numpy:
pip install numpy

Contributors

Contributors on GitHub

Third party libraries

  • Kivy Graphics Framework
  • OpenCV Computer Vision Library

Credit

License

Version

  • Version 1.0

How to use this code

antificial's Projects

antificial icon antificial

A real-time swarm simulation framework with real-time user interaction.

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.