Rainbows and dots in a loop