
설명
FlockIt is a high-performance agent system that produces natural, structured flocking and schooling behaviour while also giving every agent an optional state layer. Use it for crowds, schools of fish, traffic systems, ambient environments, or lightweight simulations such as economies - all from the same lightweight framework.
Unlike traditional boid implementations, FlockIt combines smooth movement rules with a flexible per-agent state system. This allows agents to track values like pressure, status, or binary conditions, enabling emergent behaviour in both movement and systemic logic without heavy scripting.
Key Features
High performance - stable 60+ fps with large numbers of agents
Natural, structured flocking and schooling in 1D, 2D and 3D
Tuneable repulsion, panic modes, cohesion, and alignment
Optional per-agent state system (pressure, orientation, progress values and flips)
Low-overhead approach for ambient and systemic game logic
Drive complex behaviours such as traffic flow, resource economies, or environmental systems from the same state layer
Easy to extend - ramp up cohesion to create custom organisms or use one of the included presets
Fully documented with tutorials and example project
Use Cases
Crowds and schools of fish with realistic group behaviour
Traffic and pedestrian systems with configurable decision logic
Ambient systems (e.g. apartment lights, cityscapes, particle environments)
Lightweight space-sim or strategy game economies
Any scenario where you need both movement and state-driven logic in one performant system
FlockIt is designed to be both powerful and approachable. Whether you need simple flocking or more complex agent-based systems, the same core framework scales cleanly.
Documentation & Support
Full documentation, tutorials and example projects are available at flockit.xyz. A complete demo project is also included.
Video: https://www.youtube.com/watch?v=D6Vl-0VL0JI
Website: https://flockit.xyz
Demo project with examples: https://github.com/hasjack/flockit











