** The project might take a second to load** INTRO -------------------------------------------------------------------------------------------- This is Boids! a complex life flocking simulation (Read more below). It works okay for small numbers of boids, but anymore than 100 and you'll probably want to use turbowarp: https://turbowarp.org/724011205 Feel free to play around with it and discover some cool patterns by playing with the settings! INSTRUCTIONS -------------------------------------------------------------------------------------------- The boids are attracted to your mouse so move them around with it or tap the checkbox to change the boid settings: • TARGET SPEED - The speed that the boids try to go • RESOLVE - How fast the boids adjust their speed • RANGE - How many pixels away each boid can see its neighbors • SEPARATION - How much the boids try to stay apart from each other • COHESION - How strong the boids are attracted to their neighbors • ALIGNMENT - How much the boids try to point in the same direction as their neighbors • # OF BOIDS - Pretty self explanatory • MAP SIZE - How much of the screen you can see at once Remamber to LIKE and FAVORITE if you enjoy! TAGS -------------------------------------------------------------------------------------------- #boids #griffpatch #tutorial #simulation
ABOUT BOIDS -------------------------------------------------------------------------------------------- What are boids? - Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. As with most artificial life simulations, Boids is an example of emergent behavior; that is, the complexity of Boids arises from the interaction of individual agents (the boids, in this case) adhering to a set of simple rules. The rules applied in the simplest Boids world are as follows: Separation: Steer to avoid crowding local flockmates Alignment: Steer towards the average heading of local flockmates Cohesion: Steer to move towards the average position (center of mass) of local flockmates CREDITS -------------------------------------------------------------------------------------------- First and foremost for the exquisite tutorial: https://m.youtube.com/watch?v=Rv1tvWTtd5M (I added a few features like scaling and made them pen drawn but the vast majority was from him. So thank you so much griffpatch if you read this.) Hexagon background: https://www.pinterest.com/pin/817262663625032627/ Wikipedia for info for the description: https://en.m.wikipedia.org/wiki/Boids Thanks for reading all this and hope you have a blessed day!