You can't make an animated cursor because it does not support .gifs
I know how to make them rainbow. Just look at how the ghosting image works.