Interface: SpringMobjectOptions
Defined in: src/mobjects/geometry/Spring.ts:6
Options for creating a Spring.
Properties
coils?
optionalcoils:number
Defined in: src/mobjects/geometry/Spring.ts:12
Number of coils. One coil has two peaks. Default: 8
color?
optionalcolor:string
Defined in: src/mobjects/geometry/Spring.ts:18
Stroke color. Default: WHITE
end?
optionalend:Vector3Tuple
Defined in: src/mobjects/geometry/Spring.ts:10
End point. Default: [3, 0, 0]
leadLength?
optionalleadLength:number
Defined in: src/mobjects/geometry/Spring.ts:16
Length of the straight lead at each end. Default: 0.25
start?
optionalstart:Vector3Tuple
Defined in: src/mobjects/geometry/Spring.ts:8
Start point. Default: [0, 0, 0]
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/geometry/Spring.ts:20
Stroke width. Default: 3
width?
optionalwidth:number
Defined in: src/mobjects/geometry/Spring.ts:14
Full peak to peak width of the coil. Default: 0.3