For this assignment I was inspired by my class How To Count Birds. Since I had a bad reaction to the vaccine I spent the last few weeks at my parents house in my hometown. Watching birds in the farm fields was much more active and I actually found rare and beautiful birds unlike the small one in the city center.
A few things I had to keep in mind about steering behaviour:
Action Selection - strategy, goal, planning
Steering - path determination
Locomotion - animation, articulation
Seek (target calculation) -> Flee (away from the target at maxSpeed) -> Pursue (perception of target location) -> Evade (multiple) -> Arrive (slow down and stop at the target).
Seeing the first sketch from the Nature Of Code collection https://editor.p5js.org/natureofcode/sketches/r1imr2mdx, I wanted to use the same basic movement and make two birds move according to mouse and one to another.
I was so excited for the birds that I got to see and also succeeded to identify them:
The code was pretty straightforward thanks to example. I had a few problems in the position which the birds meet, I had to double the velocity in negative. The Monk Parakeet moved around itself towards the Lesser Kestrel.
Going forward and since I really like data I am intrigued to see how I can combine birds data and streaming behavior.
Comments