Forgot password?

Create an account!

RVB

« back

BirdBots

Description RhinoScript Application

RhinoScript Application by ivo

simple swarm simulation:

1. choose the field size where the swarm will be created
2. select a curve a path along whic the birds will fly

notes:
-more than 100 'birds' made my computer slow down
-try to change the values in the direction function, which defines the imprtance of:
- the popluations centre
- the flight direction of the alpha-bird
- the general direction of the population
- the path, which the swarm is meant to follow

Version

Version 0.001 (Jun 26, 2008)

Requirements
Code

You need to be logged in to view the source code.

Download

You need to be logged in to download the script.

Comments
  • 2. ivo (Dec 14, 2009 08.46):

    hi there,

    thank you for the interest in my "experimental srcipt". assuming the "values" you are speaking of cencern the flight direction of each boid you may change them in the function called "Direction". The direction of each boid is defined by following values which are then weighted:

    - Vcntr * 0.2 (direction from the boids actual position to the swarms centroid)
    - V0 * 0.6 (direction to the prey; red point)
    - Valpha * 0.03 (direction to the alpha-boid)
    - Vbot * 1 (last direction of the actual boid; within the previous iteration)
    - Vswarm * 0.01 (average direction of all the boids)

    The weighting values have been found experimentaly.

    When running the script, try to keep hold down the ESC button, this may stop it. generally rhino won't shut down while executing a command...

    cheers

  • 1. nigthscream (Dec 11, 2009 12.44):

    can u plz tell me how to change the values in your discription?
    While the script runs i can't shut down the rhino. Any thoughts?

  • +++ Jun 26, 2008 14.48: BirdBots version 0.001 published +++