Algorithms for Computer Animation