Documentation
Getting Started
Flocc Studio is a visual environment for creating agent-based models. You can create simulations without writing any code — just define your agents, their behaviors, and watch them interact.
Creating Your First Model
- Click "Create Model" to open the editor
- Add an agent type (e.g., "Bird")
- Add behaviors to define how agents move and interact
- Set up a population to spawn agents
- Press Play to run the simulation
Agent Types
Agent types define the different kinds of entities in your model. Each type has:
- Name — A label for the agent type
- Appearance — Color, shape, and size
- Properties — Custom data each agent carries
- Behaviors — Rules that govern agent actions
Behaviors
Behaviors are the rules that agents follow each tick of the simulation. Available behaviors include:
- Random Walk — Move in a random direction
- Move Toward — Move toward a target
- Move Away — Flee from a target
- If Nearby — Conditional behavior based on proximity
- On Collision — React when touching another agent
Sharing Models
Once you're happy with your model, you can:
- Save it to your account
- Make it public for others to view and fork
- Embed it on other websites
- Export as standalone code
Learn More
Flocc Studio is built on Flocc, an open-source JavaScript library for agent-based modeling.