Physically based animation