Skip to main content

Interface: FlowArcOptions

Defined in: src/mobjects/geo/FlowArc.ts:25

Options for a FlowArc.

Properties​

bulge?​

optional bulge: number

Defined in: src/mobjects/geo/FlowArc.ts:37

How far the arc bows out from the straight chord, as a fraction of the chord length. The arc's midpoint sits bulge * chordLength away from the chord's midpoint. Default: 0.2. Negative values bow to the other side.


color?​

optional color: string

Defined in: src/mobjects/geo/FlowArc.ts:39

Line color. Default: a warm orange (#ff6b35).


from​

from: LatLon

Defined in: src/mobjects/geo/FlowArc.ts:27

Start point [latitude, longitude] in degrees.


lineWidth?​

optional lineWidth: number

Defined in: src/mobjects/geo/FlowArc.ts:41

Line width in pixels. Default: 2.


projection?​

optional projection: GeoProjection

Defined in: src/mobjects/geo/FlowArc.ts:31

Projection from lon/lat to 2D. Default: equirectangular().


samples?​

optional samples: number

Defined in: src/mobjects/geo/FlowArc.ts:43

Polyline resolution (number of sampled points). Default: 48.


to​

to: LatLon

Defined in: src/mobjects/geo/FlowArc.ts:29

End point [latitude, longitude] in degrees.