Assonance is the repetition of vowel sounds within a phrase or sentence. In this line, the repeated vowel sound is the short "u" sound in "swirled," "twirled," and "spun."
This repetition of the "u" sound creates a sense of movement and whirling, mirroring the actions described in the line.