A simple module for measuring time in animations.