time and mouse based animation