Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Does this help? Commented Jan 29, 2014 at 12:44
  • @Philipp: The arches in that picture would be geodesic on the "flat" torus, but not on the torus embedded in R^3. Commented Jan 29, 2014 at 16:04
  • 1
    A couple of comments. First, it would help to know how your coordinates are specified. Are they given as points in 3-space, or points in a rectangle (the domain of a parametrization), or some other format? Second, asking for a geodesic arc on a torus embedded in R^3 is a fairly complex mathematical question, and I doubt you will find any drawing-oriented program with a built-in method to compute this for you. Do you really need the arcs to be geodesic, or just "reasonable"? Commented Jan 29, 2014 at 16:10
  • Hi guys. Firstly, thank you for your answers. @Philipp the code helps a lot for drawing the torus, but I am totally unfamiliar with Asymptote unfortunately and I have to import (a lot of) points. I think however that I will use it to draw the donut :) Thanks again. Commented Jan 30, 2014 at 16:49
  • @CharlesStaats I need a sort of geodetic on the flat torus (sorry I write not clearly) and a reasonable solution is fine! The points are in the form x y where x and y are the coordinates in the rectangle, domain of parametrization. However I can clearly recompute their coordinates in another form, if necessary. Commented Jan 30, 2014 at 16:50