Knowledge-based synthesis of numerical programs for simulation of rigid-body systems in physics-based animation | IEEE Conference Publication | IEEE Xplore