Use colorsys library’s hsv_to_rgb() function and loop to draw the following square that gradually transitions hue value from 0 to the left to hue value 1 on the right.
Continue from Random Asteroids in Space project to animate the moving asteroid. Note that the asteroid wraps around when it is moving out of screen and it is possible that the