Use ticks to make sure the speed of the star animation remains consistent.