How to use sine or cosine to plot a sphere path ?
in
Programming Questions
•
3 years ago
I want to create a series of circles created using vertices which create a circle (vertex ellipse) vertically. As I go down the z-axis I want to adjust the radius to form a sphere.
Doing this will give me the co-ordinates of each point.
Here is a small sketch of what I am trying to achieve\
As I go down the z-axis (red line) I want to adjust the radius. That when rotated it gives this effect (I did this with paint so its not exactly to scale )
You would see a small circle. As you go down the z-axis the circles (vertex ellipses) get bigger and then after half the distance is reached the circles get smaller.
Imagine the ATT logo but in vertical sections instead of a sphere a series of ellipses
After which I can take the co-ordinates and create a shape like the above. To increase the detail I would just have to increase the amount of vertices of each circle as you go down the z-axis.
Doing this will give me the co-ordinates of each point.
Here is a small sketch of what I am trying to achieve\
As I go down the z-axis (red line) I want to adjust the radius. That when rotated it gives this effect (I did this with paint so its not exactly to scale )
You would see a small circle. As you go down the z-axis the circles (vertex ellipses) get bigger and then after half the distance is reached the circles get smaller.
Imagine the ATT logo but in vertical sections instead of a sphere a series of ellipses
After which I can take the co-ordinates and create a shape like the above. To increase the detail I would just have to increase the amount of vertices of each circle as you go down the z-axis.
1
