Skip to main content

Interface: RotatingOptions

Defined in: src/animation/utility/index.ts:149

Extends​

Properties​

aboutEdge?​

optional aboutEdge: Vector3Tuple

Defined in: src/animation/utility/index.ts:157

Edge to rotate about, resolved via bounding box. Mutually exclusive with aboutPoint.


aboutPoint?​

optional aboutPoint: Vector3Tuple

Defined in: src/animation/utility/index.ts:155

Point to rotate about. Default: mobject center


angle?​

optional angle: number

Defined in: src/animation/utility/index.ts:151

Total angle to rotate in radians. Default: 2*PI (full revolution, matching Manim's TAU)


axis?​

optional axis: Vector3Tuple

Defined in: src/animation/utility/index.ts:153

Axis of rotation [x, y, z]. Default: Z axis [0, 0, 1]


duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift