Giter Club home page Giter Club logo

crowd-evacuation's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Jakob Maleลพiฤ (@Blarc).
  • ๐Ÿ‘€ Iโ€™m interested in creating any kind of applications.
  • ๐ŸŒฑ Iโ€™m currently learning about DevOps.
  • ๐Ÿ“ซ You can reach me via LinkedIn.
  • ๐ŸฆŠ You can also find me on GitLab.

crowd-evacuation's People

Contributors

blarc avatar mmarolt avatar

Watchers

 avatar  avatar

crowd-evacuation's Issues

Fix ObstacleAvoiding

Prevent obstacles from crashing into each other:

  • add a stop condition, which makes the objects stop when they are too close
  • implement logic for moving of objects after stop
  • randomly decide the angle when suitable in obstacle avoiding rules (i.e. rule 10)

Obstacle avoidance: predict the next position

Rather than reacting (rotating the object) based on the current positions of the obstacles (or other objects), calculate the next position of the obstacles (or objects) by adding their velocity to their current position and decide based on that position.

The current position of the obstacle is irrelevant. We want to turn in such direction, that we won't crash into it after rotating.
(Maybe event multiply obstacle's velocity to predict for more than one frame in advance)

Fix obstacle drawing

When drawing larger obstacles, they can't be placed one obstacle away from each other.

Fix VArc.isInArc function

VArc.isPointInArc currently checks if point is in arc. We would like it to check if an object (circle, rectangle) with specified size is in arc. Try to figure out how to check for rectangles and circles, since they'll be needed for obstacles.

  • VArc.isCircleInArc(...)
  • VArc.isRectInArc(...)

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.