Multi-agent simulator of systems of particles and people