Toward a Theory of Animation