Disclaimer: I know very little about vectors, but think I know trig fairly well. My calculus is very limited so far, so I would appreciate a solid explanation.
I am trying to draw a spiral around a vector with given amplitude, frequency, shifting, whatever. I am fairly confident with trig, so I could do this no problem in 2 dimensions. In 3 dimensions, I am having some trouble.
After some work drawing this out on paper, I believe I can draw this spiral if I have 2 perpendicular vectors looking like this: 3d plane Where y is the vector I want to draw a spiral around and x and z are the perpendicular vectors. If I can get this vectors, I should be able to use the magnitude of the vectors to make the spiral.
My issue is that I don't know how to get the x and z vectors. My research online has led me to dot product, which allows me to figure out if 2 vectors are perpendicular or parallel, which should help me.
Note: I am not trying to get the x or z axis. I want to get x and z in relation to y, which may be "pointing" anywhere.
So my question: How can I find these 2 perpendicular vectors