Embedding a graphics/plot on a torus
Hi, I'm currently trying to embed a plot on the surface of a Torus. Say I have a plot or an image of size $(2 \pi R$ , $2 \pi r)$, and a Torus of:
- radius from the center to the center of the tube equal to $R$
- radius of the tube equal to $r$.
Is the a way I can embed this plot to the surface of the torus?
Right now I am able to plot both the Torus (using parametric_plot3d) and the other image.
The other plot is composed by vertices and straight lines between the vertices (actually it is a graph). I already thought of mapping the coordinates of the vertices to the 3d coordinates of the torus but this would produce straight lines that cross the tube, instead of passing over the surface.
I can also specify the coordinates of the vertices and plot the graph object, but the same problem arises. Also, some other objects might appear on the plot (think of rectangles) and it would be nice to correctly embed that ones too. Maybe the easiest solution is just to save the plot to an image and the apply this "texture" to a torus?
If this is not possible/easy to do in sage, which software would you recommend?
Edit: the result should be something like this (ignore the animation): http://upload.wikimedia.org/wikipedia...
Thank you very much.
PS: Just out of curiosity, can this be generalized by applying a "texture" to an arbitrary surface?
Ah, the Tonnetz! Love Neo-Riemannian theory... Anyway, just as a comment, have you tried creating the edges of your graph as parametric curves within the parametric surface? That would be the first thing that would occur to me, though I agree it requires a substantial amount more work than if the graph just automatically "knew" it lived on the torus.