fps—
min—
max—
Overview
This example demonstrates createTorusTopology, a closed donut surface that is periodic in both axes.
The torus parametrizes its surface by (u, v) in [0, 1):
ugoes around the major circle (the ring of the donut), andvgoes around the tube cross-section.
Both axes wrap, so every tile has a same-level neighbor. Because the major circumference is typically much longer than the tube circumference, the topology seeds a baseU × baseV grid of level-0 roots (baseU = round(major/minor), baseV = 1) so each root tile is approximately square in world space before isotropic LOD subdivision.