Interactive Toroid by Ira Greenberg. Illustrates the geometric relationship between Toroid, Sphere, and Helix 3D primitives, as well as lathing principal. Instructions: UP arrow key pts++; DOWN arrow key pts--; LEFT arrow key segments--; RIGHT arrow key segments++; 'r' key toroid radius--; 'f' key toroid radius++; 'z' key initial polygon radius--; 'x' key initial polygon radius++; 'v' key toggle wireframe/solid shading 'h' key toggle sphere/helix
Source code: Toroid_webtest
Built with Processing