Abstract mechanical circuit design