August 2018
Intermediate to advanced
528 pages
10h 58m
English
A torus is a simple shape that looks like a donut. The following screenshot, which you can get yourself by opening the 09-basic-3d-geometries-torus.html example, shows THREE.TorusGeometry in action:

Just like most of the simple geometries, there aren't any mandatory arguments when creating THREE.TorusGeometry. The following table lists the arguments you can specify when you create this geometry:
|
Property |
Mandatory |
Description |
|
radius |
No |
This sets the size of the complete torus. The default value is 100. |
|
tube |
No |
This sets the radius of the tube (the actual donut). The default value for ... |
Read now
Unlock full access