Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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\piR$, $2\pir$), and a Torus of radius $R$ from the center (to the center of the tube) and of tube radius $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.

If this is not possible/easy to do in sage, which software would you recommend?

Thank you very much.

PS: Just out of curiosity, can this be generalized by applying a "texture" to an arbitrary surface?

click to hide/show revision 2
No.2 Revision

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($2\pi R$, $2\pi$2 \pi r$), and a Torus of radius $R$ from the center (to the center of the tube) and of tube radius $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.

If this is not possible/easy to do in sage, which software would you recommend?

Thank you very much.

PS: Just out of curiosity, can this be generalized by applying a "texture" to an arbitrary surface?

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$ , $2 \pi r$), r)$, and a Torus of of:

  • radius $R$ from the center (to to the center of the tube) and of tube equal to $R$
  • radius $r$. 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.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/commons/thumb/6/67/TonnetzTorus.gif/400px-TonnetzTorus.gif

Thank you very much.

PS: Just out of curiosity, can this be generalized by applying a "texture" to an arbitrary surface?