Skip to main content

Interface: FourierEpicyclesOptions

Defined in: src/mobjects/graphing/FourierEpicycles.ts:33

Options for FourierEpicycles.

Properties​

animate?​

optional animate: boolean

Defined in: src/mobjects/graphing/FourierEpicycles.ts:65

Install an updater that advances time each frame. Default true.


center?​

optional center: Vector3Tuple

Defined in: src/mobjects/graphing/FourierEpicycles.ts:41

Origin of the vector chain (the fixed tail of the first vector). Default [0, 0, 0].


circleColor?​

optional circleColor: string

Defined in: src/mobjects/graphing/FourierEpicycles.ts:49

Color of the circles. Default '#888888'.


circleOpacity?​

optional circleOpacity: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:51

Opacity of the circles' stroke. Default 0.5.


color?​

optional color: string

Defined in: src/mobjects/graphing/FourierEpicycles.ts:45

Color of the rotating vectors (arrows). Default '#58c4dd'.


maxTracePoints?​

optional maxTracePoints: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:72

Maximum number of accumulated trace points before the oldest are dropped. Default 2000.


numSamples?​

optional numSamples: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:39

Samples taken from a VMobject or ComplexPathFunction. Default 256.


numTerms?​

optional numTerms: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:37

Number of rotating vectors to show. Default: all coefficients.


order?​

optional order: FourierOrder

Defined in: src/mobjects/graphing/FourierEpicycles.ts:43

Vector chain ordering. Default 'frequency' (the iconic 0, +1, -1, +2, -2, …).


path​

path: FourierPathInput

Defined in: src/mobjects/graphing/FourierEpicycles.ts:35

The path to approximate.


showCircles?​

optional showCircles: boolean

Defined in: src/mobjects/graphing/FourierEpicycles.ts:47

Whether to draw the circles behind the vectors. Default true.


showPen?​

optional showPen: boolean

Defined in: src/mobjects/graphing/FourierEpicycles.ts:61

Whether to show a pen dot at the chain tip. Default true.


speed?​

optional speed: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:63

Cycles per second advanced by the internal updater. Default 0.2.


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:57

Stroke width of the vectors. Default 2.


tipLength?​

optional tipLength: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:59

Arrow tip length for the vectors. Default 0.15.


traceColor?​

optional traceColor: string

Defined in: src/mobjects/graphing/FourierEpicycles.ts:53

Color of the traced output curve. Default '#ffff00'.


traceWidth?​

optional traceWidth: number

Defined in: src/mobjects/graphing/FourierEpicycles.ts:55

Stroke width of the traced curve. Default 3.


tracker?​

optional tracker: ValueTracker

Defined in: src/mobjects/graphing/FourierEpicycles.ts:70

Optional tracker that drives time instead of the internal clock. When set, time is read from the tracker each frame (one period spans value 0 → 1).