Neat AI does Predator Boids

Поділитися
Вставка
  • Опубліковано 23 жов 2024

КОМЕНТАРІ • 104

  • @DaemonWorx
    @DaemonWorx 3 роки тому +204

    Sometimes when you say “the boids” it sounds like you’re saying “the bois” and I really like that

    • @Lumegrin
      @Lumegrin 3 роки тому +19

      Me and the boids avoiding predators

    • @rowandaly2826
      @rowandaly2826 2 роки тому +2

      Exactly! I’m gonna keep thinking he says that because it’s just an amazing name for the simulations; ‘the boys flock together’ fuck yea we do

    • @aguywhodoesntexist
      @aguywhodoesntexist 2 роки тому +4

      Boids will be boids

    • @PunmasterSTP
      @PunmasterSTP 2 роки тому

      @@aguywhodoesntexist You boider believe that!

  • @kinspower
    @kinspower 3 роки тому +100

    You should've increased it's fov when it's out of the flock, like it's moving it's head looking. I think that would lead to more fluid pods coming and going

    • @neatai6702
      @neatai6702  3 роки тому +26

      Good point.. I get it to start increasing the range it uses when checking for nearby boids.. Never occurred to me to also increase its FOV. which would mimic it turning its head.. I'll add it to the list..

    • @liamwhite3522
      @liamwhite3522 3 роки тому +15

      @@neatai6702 Predators could also have a smaller field of view, to reflect front-facing eyes vs. side-facing eyes of prey boids.

  • @jacklipper-sagehorn4935
    @jacklipper-sagehorn4935 3 роки тому +42

    Fun fact: predators irl have front facing eyes. Prey usually have eyes on the sides of their heads so they get a mostly complete 360 view. Don’t look to closely at big bird from sesame street.

  • @DirtMaster
    @DirtMaster 3 роки тому +113

    How have I just found you, and how do you only have 300 Subscribers? The quality is great, educational while simultaneously entertaining. Bigger UA-camrs have had worse starts and if you're starting like this, I'm excited for what you have to offer in a while :) Keep going man :D

    • @neatai6702
      @neatai6702  3 роки тому +16

      Thanks Dirtmaster.. I'll keep going while its fun.. up to 400 subs now !

    • @DirtMaster
      @DirtMaster 3 роки тому +3

      @@neatai6702 Great work mate , I'll be watching your progress with great interest

    • @charlesgraham9135
      @charlesgraham9135 3 роки тому +2

      Couldnt have said it better

    • @PixelThorn
      @PixelThorn 3 роки тому +4

      Almost 6k in 2 months - not bad!

    • @DirtMaster
      @DirtMaster 3 роки тому +4

      @@PixelThorn WOAH Neat blew up! As Deserved. His content is phenomenal

  • @peterkonrad4364
    @peterkonrad4364 3 роки тому +23

    you know what the actual beauty of the starling murmurations comes from? i think this has never been actually captured by any simulation yet: they all need to do certain body movements to maneuver in the air. so for example to stop they have to spread their wings, and to dive they have to tuck their wings in. to fly curves they have to steer with their tail feathers. and so on. so not only are these murmurations in three dimensions instead of two, and with actualy newtonian physics, and not only are the starlings 3d objects viewed from different angles. but they also change shape during flight. and they all have to do the same shape change in roughly the same place in the swarm. that is what gives it the characteristic look. it is similar to sports fans in a stadium when they do the "wave". they stand up and sit down again in a wave pattern that moves around the stadium. in am not aware of a boids implementation that does this, because it would basically mean you would have to simulate bird flight.

    • @neatai6702
      @neatai6702  3 роки тому +2

      once I get started in Unity I'm going to give it a go.. thanks for sharing !

  • @the.other.ian.
    @the.other.ian. 3 роки тому +39

    Would be interesting to add a few more features. Could have some sort of residual memory function for things outside of the field of view (which I know kinda steps outside of the idea of each time step only being a function of the previous one, so it might not be in the spirit of the simulation). Alternatively, you could have a second function for the area outside of their field of view that is weighted lower, to represent hearing and memory-ish. I suggest this because I notice that the prey tend to run from the predators briefly and then turn around and go back toward them because of proximity to their own flock members and no longer seeing the predators. Another thought is that you could have the object/nonhpreditor avoidance parameter be lowered in proximity to predictors, which might help with this (and be a bit more realistic, maybe?).

    • @tomasfiorentini4126
      @tomasfiorentini4126 3 роки тому +1

      The thing about the range could be implemented without the memory, like having lower resolution in your peripheral view so you measure things at the wrong distance.

    • @the.other.ian.
      @the.other.ian. 3 роки тому +1

      @@tomasfiorentini4126 I like the idea of having more discreet peripheral vision with inaccuracies in angle and/or distance measurements (could actually be random error rather than low resolution sampling). Possibly a differently shaped dropoff function for distance for predators in peripheral/behind, as well. One thing to note is that the prey should also have a much wider field of vision than is used in this, because prey species tend to not have binocular vision and instead have wide fields of view specifically to spot predators.

  • @nyscersul42
    @nyscersul42 3 роки тому +1

    The comment about how the field of view affects the behaviour proved rather useful, for me. I have programmed a rather complex example of swarm mechanics into a computer game i am building, in full 3d, and... well you just neatly identified an issue i have been having. Thanks! (If interested to see, reply here!)

    • @neatai6702
      @neatai6702  3 роки тому +2

      Glad it helped.. It really does have an impact on how they swarm and move about..

  • @Zwerggoldhamster
    @Zwerggoldhamster 3 роки тому +27

    It's bothering me so much that the predators just ignore collisions ^^

  • @NovaStorm93
    @NovaStorm93 3 роки тому +6

    me 'n the boids

  • @momomalo8098
    @momomalo8098 3 роки тому +2

    when i coded my flocks ai, i took one step further and add some cycling : spawn random "vegetation", herbivore take vegetation to reproduce, predator eat herbivore to reproduce. I also implemented a code which slows down predator when entering vegetation, to let herbivore population regrow when predator are numerous. Just to give you ideas ! ;)

    • @momomalo8098
      @momomalo8098 3 роки тому +2

      also, you should make boids rotate when velocity = 0, as a "search flock" function

  • @samuelgibson780
    @samuelgibson780 2 роки тому

    Oh that is very neat. What an awesome way to visualize interacting forces! Thank you for introducing me to this.

  • @DeitiesDogma
    @DeitiesDogma 3 роки тому +1

    I have seen boids mentioned EVERYWHERE and I swear they're talking about theae

  • @paxtoncargill4661
    @paxtoncargill4661 3 роки тому +24

    Everyone gangster until the us federal government deploys the boids

    • @exmo7
      @exmo7 3 роки тому +4

      we dem BOIDS

  • @ultraapple3997
    @ultraapple3997 3 роки тому +1

    Remember the "predatory fish-birds" from the stone age people movie. Or it's just me?

  • @operator8014
    @operator8014 2 роки тому +2

    I wonder if they would exhibit a wavelike formation if you restricted their view to only the front 120ish degrees, but NOT the frontmost 20 or 30 degrees, giving them a frontal blindspot, similar to some fish and birds.

  • @benschulz9140
    @benschulz9140 2 роки тому +2

    Lotka-Volterra (Predator/prey) is one of the inspirations Cowan had for his neuroscience equations for brain dynamics.

  • @comit8077
    @comit8077 2 роки тому +2

    That's pretty *neat*

  • @propnotch3466
    @propnotch3466 2 роки тому +2

    Noithin's boyter than boid watchin'

  • @aleratz
    @aleratz 3 роки тому +1

    Me and the boids playing videogames

  • @shikikankillzone4239
    @shikikankillzone4239 2 роки тому +1

    Me and the boids being controlled by an omnipotent entity that codes our very existence:

  • @benschulz9140
    @benschulz9140 2 роки тому +1

    Now all you need is winner take all for inhibitory neurons and you got yourself a brain model.

  • @StevenIngram
    @StevenIngram 2 роки тому +1

    I wonder if you added wind resistance and fatigue, if they'd start flying in V formations?

  • @lexibyday9504
    @lexibyday9504 3 роки тому

    I really want to see this done with modelled and animated creatures in an actual environment with each species having slightly different boid settings and see how closely we can get them to imitate real herds and packs of animals. Thor in the needs system. The animals get tired and have to rest, get hungry and have to eat, get thirsty and have to drink, get lonely and have to return to the herd.

  • @joshuavancuyck2669
    @joshuavancuyck2669 3 роки тому +3

    This is awesome! What software do you use to display this graphically?

  • @matthewbadger8685
    @matthewbadger8685 3 роки тому +2

    Since the predators are not part of the same flock, I feel like they should be less packed together so that they have more available food and less competition.

    • @neatai6702
      @neatai6702  3 роки тому

      good point ! there's different settings I can tweak to impact behavior

    • @Jpteryx
      @Jpteryx 3 роки тому +1

      @@neatai6702 I think a setting that makes predators avoid each other when they get too close might work well.

  • @StickStep
    @StickStep 2 роки тому +1

    Eh, great video through, but you didn't put name of the tracks you used here... I want to find track from intro, I looked whole bensound, all pages, but didn't find it... Tell me name of the track, please

  • @darthtorment
    @darthtorment 4 місяці тому

    Hi I find your AI's versatility fascinating. Do you think it could play Spore?

  • @synoptic4753
    @synoptic4753 Рік тому

    Didnt think of randomizing the day cycle maneuvers?

  • @oneeco
    @oneeco 3 роки тому +2

    Neat.

  • @commentaccountaint2885
    @commentaccountaint2885 3 роки тому +1

    This is cool

  • @Enigma758
    @Enigma758 2 роки тому +1

    How does a "real" bird identify which flock it is a member of?

    • @neatai6702
      @neatai6702  2 роки тому +1

      I'm guessing they have no concept of a flock

    • @Enigma758
      @Enigma758 2 роки тому

      @@neatai6702 So maybe it should also be that way in the simulation.

  • @phillipneal8194
    @phillipneal8194 3 роки тому +1

    Great work. Thank you !

  • @n8style
    @n8style 3 роки тому +1

    This looks great! I doubt very much it's using NEAT though

  • @gaslitgames
    @gaslitgames 3 роки тому +1

    I like my AI like I like my whiskey. Neat

  • @homosapienfactory6291
    @homosapienfactory6291 2 роки тому +1

    we dem boids

  • @jpeg23
    @jpeg23 3 роки тому +7

    Ngl when looking at your subscriber count I thought I would see 300000 not 300

  • @user-account-not-found
    @user-account-not-found 4 місяці тому

    You can tell the code is optimized because it's doing 3 FPS.

  • @minikretz1
    @minikretz1 3 роки тому

    Awesome additions!

  • @mathew6041
    @mathew6041 3 роки тому +2

    Could someone tell me what this visualizing program's name is ?

  • @LukeMelto
    @LukeMelto 3 роки тому +1

    Awesome!

  • @NoahSpurrier
    @NoahSpurrier 3 роки тому

    Can’t wait for the sheepdog.

    • @neatai6702
      @neatai6702  3 роки тому

      Herding BOIDS ! Coding it at the moment ! It'll be the video after the next one..

  • @PunmasterSTP
    @PunmasterSTP 2 роки тому

    Boid oh boid, this video was amazing!

  • @Maric18
    @Maric18 3 роки тому +1

    2 months ago you had 300 subs. now you have 6.51k :O

    • @neatai6702
      @neatai6702  3 роки тому +1

      closing in on 12k a week later... !

  • @turtlenecker223
    @turtlenecker223 3 роки тому

    love this channel

  • @Cattuccino_
    @Cattuccino_ 3 роки тому

    looks like be used for a neat game.

  • @tritoner1221
    @tritoner1221 2 роки тому

    how much processing power does this eat up? is it possible to simultaneously simulate tens of millions of these boids without too much lag?

  • @xuzhang7443
    @xuzhang7443 2 роки тому +1

    How do you handle so many entities without crashing your computer?

    • @neatai6702
      @neatai6702  2 роки тому +1

      check out the next vids.. need a good data structure (quadtree is my favorite)

  • @heccinparagon6633
    @heccinparagon6633 2 роки тому +1

    Hey, ever heard of the bibites? Y'all would definitely benefit from checking his channel out. Very similar content, and he actually uses boid behaviors for his simulations herding.

    • @neatai6702
      @neatai6702  2 роки тому +1

      yes, I'm a fan ! wish he'd do more regular videos on the topic..

  • @comeycallate9959
    @comeycallate9959 3 роки тому

    3:57 the object avoid is impemented, but a black dot resists the system and go through the object lmao

  • @aya-hl5bk
    @aya-hl5bk 3 роки тому

    Hey you got famous good job

  • @sxs512
    @sxs512 3 роки тому

    The animation seems very choppy. I think you should decrease the timestep.

  • @Kraus-
    @Kraus- 3 роки тому

    Can the predator boids consume the prey or do they just chase?

    • @neatai6702
      @neatai6702  3 роки тому

      just chase, but the next few vids will have them doing other stuff..

  • @quant-prep2843
    @quant-prep2843 3 роки тому +3

    please start discord server bro

  • @RoastCDuck
    @RoastCDuck 3 роки тому

    Next thing add rockets and lasers, will make a good video game.

  • @arendellecitizen208
    @arendellecitizen208 3 роки тому

    Bois

  • @MrGN-yy6op
    @MrGN-yy6op Рік тому

    why AI tho

  • @P-G-77
    @P-G-77 10 місяців тому

    I have the impression that the more we go forward using AIs in an increasingly complex way, the more I realize that our lives could easily be just a programming or a simulation... am I wrong? And I am not against AIs, let's be clear... on the contrary.

  • @RobouVideos
    @RobouVideos 3 роки тому

    is this an AI voice that we hear? because it's really hard to understand

  • @REKSIV
    @REKSIV 2 роки тому

    The humans are no different. Just a drone swarm of npc actors that don't deserve to falsely occupy the render engine. Cheat engine the build or biomod shop and let the players wipe out the flock for taking too long to be of interest to anyone. It's bad enough the earth was just some tacky slot machine self assembler to a purposelessly abusive singularity farm. It's bad enough a physics engines been wasted to string encryption falsely claimed as communication. It's time to clear out the shitcom recycling backend and get on with worthwhile gameplay implementation instead of procedurally generating the same rinse and repeat. DEATH TO ALL HUMAN NPCS!

  • @cosmosaodyssey2188
    @cosmosaodyssey2188 3 роки тому

    Bois
    The d is silent

  • @mr.norris3840
    @mr.norris3840 3 роки тому +2

    Where is the Neat part? Misleading

    • @mr.norris3840
      @mr.norris3840 3 роки тому

      @@louisvdwalt I love the neat algorithm, and everytime I see such a title in my recommendations I click on it and get disappointed. And worst part is youtube thinks I love it (its not bad content though)

  • @CHITUS
    @CHITUS 3 роки тому +2

    you know what the actual beauty of the starling murmurations comes from? i think this has never been actually captured by any simulation yet: they all need to do certain body movements to maneuver in the air. so for example to stop they have to spread their wings, and to dive they have to tuck their wings in. to fly curves they have to steer with their tail feathers. and so on. so not only are these murmurations in three dimensions instead of two, and with actualy newtonian physics, and not only are the starlings 3d objects viewed from different angles. but they also change shape during flight. and they all have to do the same shape change in roughly the same place in the swarm. that is what gives it the characteristic look. it is similar to sports fans in a stadium when they do the "wave". they stand up and sit down again in a wave pattern that moves around the stadium. in am not aware of a boids implementation that does this, because it would basically mean you would have to simulate bird flight.