provides a timer'd loop with hooks producing various animated effects