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

Circle

Dimensions

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

Radius (in meters) of the circle.

Default: 1

Mesh

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

Number of triangles to construct the circle, like pizza slices. A higher number of segments means the circle will be more round.

Default: 32

Partial

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

Start angle for first segment. Can be used to define a partial circle.

Default: 0

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

The central angle (in degrees). Defaults to 360, which makes for a complete circle.

Default: 360