Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 1.5.0 version

The torus primitive creates a donut or circular tube shape. It is an entity that prescribes the geometry with its geometric primitive set to torus.


<a-torus color="blue" position="0 0 0" segments-radial="50" segments-tubular="200" radius="5"


Note that the torus primitive inherits common mesh attributes.

Attribute Component Mapping Default Value
arc geometry.arc 360
radius geometry.radius 1
radius-tubular geometry.radiusTubular 0.2
segments-radial geometry.segmentsRadial 36
segments-tubular geometry.segmentsTubular 8