Toroid practice using code from Nick Briz, and the Three.js tutorial