🐠 Swarm Intelligence Controls

Welcome to Swarm Intelligence! 🐱

This interactive animation demonstrates the beautiful behavior of fish schooling - a perfect example of swarm intelligence and emergent behavior. Watch as simple rules create complex, lifelike movement patterns!

Click anywhere to add obstacles and see how the swarm adapts. This project is approved and loved by all cats! 🐾

Range: 2-100 | Current: 10
Controls how many fish swim in the school. More particles create richer flocking behavior but may impact performance.
Range: 5-30 | Current: 10
Adjusts the visual size of each fish. Larger fish are easier to see but may overlap more.
Range: 1-10 | Current: 5
Sets the maximum swimming speed. Higher speeds create more dynamic movement but less stable formations.
Range: 5-50 | Current: 10 (×particle size)
Determines how far each fish can "see" its neighbors. Larger radius creates more cohesive but slower-responding groups.
Range: 5-50 | Current: 20 (×particle size + 0.1×particles)
Controls how strongly fish avoid crowding. Higher values prevent overlapping but may break up the school.
Range: 0-1 | Current: 0.4
How much fish try to match their neighbors' direction. Higher values create more synchronized swimming.
Range: 0-1 | Current: 0.4
How strongly fish are attracted to the center of their group. Higher values keep the school tighter together.
Range: 10-100 | Current: 40
Size of obstacles you create by clicking. Larger obstacles create more dramatic avoidance behaviors.
Range: 0-30 | Current: 15
Length of the glowing trail behind each fish. Longer trails create more beautiful effects but may impact performance.