Boids Simulation
- 16Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What term does Craig Reynolds use to describe 'bird-like objects' in his paper on flocks, herds, and schools?
The term used is Boyd.
Or swipe the card
16 cards
What term does Craig Reynolds use to describe 'bird-like objects' in his paper on flocks, herds, and schools?
The term used is Boyd.
What are the two components that define a Boyd's awareness of its surroundings?
A Boyd's awareness is defined by its radius of vision (a circle) and a view angle, preventing it from seeing directly behind itself.
What is Rule Number One for Boyd behavior, and what is its purpose?
Rule Number One is separation: to steer away from nearby Boyds to avoid crashing into them.
Describe Rule Number Two for Boyd behavior.
Rule Number Two is alignment: to steer to move in the same direction as nearby Boyds.
What is Rule Number Three for Boyd behavior?
Rule Number Three is cohesion: to steer towards the center of any nearby Boyds.
What collective behavior emerges when the three rules (separation, alignment, cohesion) are combined?
When combined, these three simple rules give rise to complex and coordinated behavior that resembles actual flocks of birds.
How can Boyds be made to avoid walls and other obstacles?
By casting rays at increasing angles until a clear path is found.
What mathematical constant is recommended as the 'turn fraction' to achieve a good distribution of points when generating points in a disk, and why?
The golden ratio (Φ) is recommended because it is an irrational number that helps avoid points lining up, leading to a nice, even distribution.
What is the mathematical definition of the golden ratio (Φ)?
The golden ratio is when the length of two segments together (A+B) divided by the length of the long segment (A) is equal to the long segment (A) divided by the short segment (B). Mathematically, this is expressed as AA+B=BA.
What is the approximate numerical value of the golden ratio?
The positive solution for the golden ratio is approximately 1.618.
How can the distribution of points in the center of a disk be corrected if they are too bunched up?
By raising the distance to some power (e.g., a power of 0.5, which is the square root) in the calculation, the distribution becomes more even.
What is observed when highlighting every Fibonacci number-th point in a spiral generated using the golden ratio?
Highlighting every Fibonacci number-th point reveals distinct curves emanating from the edge to the center of the disk, with different Fibonacci numbers showing curves in opposite directions.
How does the ratio of consecutive Fibonacci numbers relate to the golden ratio?
The ratio of consecutive Fibonacci numbers gets closer and closer to the golden ratio as you go higher up in the sequence.
What technique was used to improve performance when many Boyds needed to find nearby Boyds?
A spatial partitioning scheme was implemented, where each Boyd is placed into a cell based on its position, so Boyds only need to check neighboring cells.
What was the unexpected finding regarding the spatial partitioning scheme versus a crude loop in a compute shader?
It was found that just doing the crude loop over all Boyds inside a compute shader was actually faster than the spatial partitioning scheme, because the shader could perform calculations in parallel.
What additional force was experimented with to make Boyds move towards a specific object?
A targeting force was added so that the Boyds would fly towards a specified sphere as it moved.

Ask anything
We've read this whole study set, so questions about it get the best answers.