Close



Results 1 to 10 of 74

Threaded View

  1. #11
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    OK... I'm done with Toroids for now... Here is an updated screen shot with various odd numbers for n1 & n2. Note that the 'round' toroid in the upper right is not a generic toroid. Its edges are curved kind of funny. But, you probably don't want that one anyway, because it is going to waste a lot of space in the doughnut box when you make donuts that shape.

    Toriod.jpg

    You might want to bump the resolution up to examine some of the shapes. Especially ones like the center one. But if you do that, you might want to comment out the generation of the other toroid's because this gets very expensive computationally (but still no need to run out and buy a Cray Super Computer!). You can do that by changing the:

    for (theta = [0:18:360])
    for (phi = [0:18:360])

    to what ever you can tolerate. Maybe something like:

    for (theta = [0:6:360])
    for (phi = [0:6:360])

    and by changing all the +18's to +6 in the hull() directive:

    Toriod.jpg

    And of course... If that is too 'thin' for all the doughnut eater's that are policing Australia, you can mess with the value for r1 so they only need one instead of the usual 2 or 3 doughnuts per session!
    Last edited by Roxy; 12-04-2014 at 04:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •