Looks pretty cool, huh? I could only find a tutorial for how to draw a torus from the angle directly above it (here). But I wanted mine to be from a different angle, so I created this tutorial. I created this in Inkscape (it's free), but this should work fine for any vector graphics package (even photoshop). Just download the SVG file which contains the tutorial and example shapes at each stage of the creation.
The above link opens in Google Drive. From there, press Ctrl+S to save it to your computer so you can open it with Inkscape.
Hope it helps!