Message Boards Message Boards

[GIF] Separation Anxiety (Level sets of the torus)

Level sets of the torus

Separation Anxiety

The last GIF got me thinking more about cross sections of the torus, so here's a loop showing several. Of course, this makes me wonder about other interesting visualizations of Morse theory, so maybe that will be my next GIF.

I got frustrated trying to implement this using Graphics3D and Line, so I got lazy and just used ParametricPlot3D. The problem is that my level set function actually splits the level sets into two parts (corresponding to the two connected components when the level set becomes disconnected), and the two sides don't match up when the level sets are connected unless I use a ridiculous number of points.

To make the GIF I used PlotPoints -> 5000, which is slightly insane and certainly far too many to get a responsive Manipulate. The below code uses PlotPoints -> 200, which looks kind of crappy, but was good enough to play around with viewpoints and colors and so forth. Anyway, if you want to make your own GIF (and don't want to come up with better code), crank up PlotPoints and be prepared to wait a while.

2 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD

I can drink tea and watch this all day.

POSTED BY: Shenghui Yang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract