Git Product home page Git Product logo

hunter_prey_simulation's Introduction

Hunter_Prey_Simulation

Hunter and Prey Simulation

Allows a user to place different simulation objects into the simulation see how they act.

image1

  1. Balls pick a random direction in travel in that direction at a constant speed.
  2. Floaters randomly change their direction and speed by a small theta and travel in that direction.
  3. Black Holes stay at a fixed position and destroy any balls or floaters that come near it.
  4. Pulsators are black holes that shrink or grow in size with respect to when they absorb a prey.
  5. Hunters are Pulsators that are aware of Prey locations and chase them to absorb them.
  6. Special is a special Prey that is aware of the hunter and avoids them by travelling in a different direction.

image2

Users can Start or Stop the simulation at any given moment and click Step to progress the simulation by one cycle. image3

hunter_prey_simulation's People

Contributors

simarcheemaa avatar

Stargazers

Matthew Hawkes_ONS avatar Jane Z. avatar

Watchers

 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.