It's just a visual illusion caused by overstimulating your eyes (or something connected to them, Idk the exact biology.)
I can manually trigger the illusion just by focusing on a texture a certain way. You probably can even if you've never done LSD, you just wouldn't have any frame of reference and probably wouldn't notice it.