Swarm robotics and complex behaviour of continuum material