"Spiral Candy" Procedural shader along curve (repeated with rotation)

Have you considered making a spiral shader?

This could be a basic building block… That constant in the multiply is 2*tau.

Edit: You could also use something like this node-group to just create “spiraling” UV coords you can then plug into any Vector source…

e.g.:

Good luck!