A Mode Approach to Intelligent Animation:Theory and