shamansir / elm-aframe / AFrame.Components.Geometry.TorusKnot

TorusKnot

Dimensions

radius : Basics.Float -> AFrame.Properties.Property

Radius of the outer edge of the torus.

Default : 1

radiusTubular : Basics.Float -> AFrame.Properties.Property

Radius of the tube.

Default : 0.2

Mesh

segmentsRadial : Basics.Int -> AFrame.Properties.Property

Number of segments along the circumference of the tube ends. A higher number means the tube will be more round.

Default: 36

segmentsTubular : Basics.Int -> AFrame.Properties.Property

Number of segments along the circumference of the tube face. A higher number means the tube will be more round.

Default: 32

Partial

p : Basics.Float -> AFrame.Properties.Property

How many times the geometry winds around its axis of rotational symmetry.

Default: 2

q : Basics.Float -> AFrame.Properties.Property

How many times the geometry winds around a circle in the interior of the torus

Default: 3