Reconstruction, Analysis and Synthesis of Collective Motion