Theory and Practice of Field-based Motion Coordination in Multiagent Systems