Shop Forum More Submit  Join Login
Info about boids -> [link]

"Boids, developed by Craig Reynolds in 1986, is an artificial life program, simulating the flocking behaviour of birds."

This is an improved actionscript 3.0 version of my 'flashy swarm' deviation !! [link]

it's faster .... more buttons and sliders .... more particles !!!! ;)


you can adjust the following parameters :

  • Center : how much the boids want to go to the center of the surrounding boids ...

  • Avoidance: how much the boids don't want to collide with other boids ...

  • Velocity : how much the boids want to match the velocity of the surrounding boids ...


  • Sight: how far away a boid can see ...

  • radius: how close boids can be to each other ...

  • intelligence: memory of a boid ...


  • Border : on/off

  • Hunter : on/off

  • Boids : Number of particles ...

  • Reset : Resets do default settings ...


  • You can also use your mouse to play with the boids ....

    !Warning ! when you have 1000 boids .... don't adjust the intelligence slider !! ;)

    If it doesn't work ... you might need to download the newest flash-player [link]

    I hope you like it !!
    Add a Comment:
     
    :iconaxlfree:
    axlfree Featured By Owner Oct 14, 2013
    Such a great job! I am new in ac3 and i really want to learn it so i might ask if you can share the script or the .fla of this project. It will mean a lot. Thanks in advance!
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Oct 15, 2013  Hobbyist Photographer
    I don't have the code anymore I think... And if you are just starting with as3 this might be a bit to much too start with ;)
    anyways ... I used this site to learn about the algorithm and pseudo code . I first wrote it in as3 and then optimized it. hope it helps :)
    www.kfish.org/boids/pseudocode…
    Reply
    :iconvesrek:
    Vesrek Featured By Owner Jul 12, 2007
    :boogie:
    Reply
    :icondrjest:
    DrJest Featured By Owner Jul 3, 2007  Hobbyist Digital Artist
    Very cool! The only point where the programming breaks down is when you hold your mouse still and they catch up. The 'flocking' algorithm doesn't handle that well. They circle and run into each other. I'm not sure what the proper response to that should be. Possibly flying off as a group and re-targeting the courser. I'm a horrible programmer, so I don't know how much work that is, and (of course) it's just my opinion.
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 4, 2007  Hobbyist Photographer
    When the distance between a particle and the mouse is smaller then 100 pixels the got ttowards the mouse ... when the distance is less then 50 pixels they go away ... so they are kinda trapped when close to the mouse ... it's not that hard to change that behavior :)
    Reply
    :iconlostindamnation:
    Lostindamnation Featured By Owner Jul 1, 2007
    Very cool, especially in context to its purpose.

    However, I did chuckle when I noticed that "Intelligence" was spelled "Intelegence."
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 2, 2007  Hobbyist Photographer
    Lol :lol: ... fixed it :)
    Reply
    :iconolofmoleman:
    olofmoleman Featured By Owner Jul 1, 2007   Digital Artist
    This is fucking awesome.
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 2, 2007  Hobbyist Photographer
    :thanks:
    Reply
    :iconrawrreepicheep:
    RawrReepicheep Featured By Owner Jul 1, 2007
    That's really cool. I like the hunter thing. xD
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    Yes ... that hunter is a real bad ass :p
    Reply
    :iconrawrreepicheep:
    RawrReepicheep Featured By Owner Jul 1, 2007
    Hahaha yeah. I watched it for like 10 mins.
    Reply
    :iconkayceeus:
    kayceeus Featured By Owner Jul 1, 2007  Hobbyist Digital Artist
    That is very cool, I bet it'd look great put to music.
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    Yes ... i thought of that too !

    it might be an option in the next update ;)
    Reply
    :iconkayceeus:
    kayceeus Featured By Owner Jul 1, 2007  Hobbyist Digital Artist
    Yes please!! :excited:
    Reply
    :iconellygator:
    Ellygator Featured By Owner Jul 1, 2007  Hobbyist General Artist
    That's amazing, I love their fluid interactions when they meet and to see what components steer their behavior.
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    Glad you like it !!

    those behavior things really interest me :)
    Reply
    :iconarchmage-lod:
    archmage-lod Featured By Owner Jul 1, 2007
    That is awesome!
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    :thanks:
    Reply
    :iconmartybell:
    martybell Featured By Owner Jul 1, 2007  Hobbyist Photographer
    i could play with that all day!!
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    Me too :XD:
    Reply
    :iconladic:
    Ladic Featured By Owner Jul 1, 2007
    Wow. Nice concept. It is very soothing.
    Reply
    :iconmosredna:
    MOSREDNA Featured By Owner Jul 1, 2007  Hobbyist Photographer
    Thanks !
    Reply
    Add a Comment:
     
    ×




    Details

    Submitted on
    July 1, 2007
    Image Size
    19.9 KB
    Resolution
    800×500
    Link
    Thumb

    Stats

    Views
    5,189
    Favourites
    41 (who?)
    Comments
    24
    Downloads
    128
    ×