bend:40,40
rotate:10,10
radii:20,20
twist:0,0
divs:80,80
scale:50,0
light:30,7
turn:63,0
red:0,0
green:0,0
blue:0,0
translate:50,50
xrotate:50,50

A torus can be made in a number of ways from a straight sheet. This is a bit of beginning of learning about vertex shaders. Use mouse to move dots to change parameters. Used webgl fundamentals as my starting point.