Interface: CameraFocusOptions
Defined in: src/animation/camera/CameraFocus.ts:14
Extends
Properties
distance?
optionaldistance:number
Defined in: src/animation/camera/CameraFocus.ts:18
Camera distance from the look-at point. Overrides fill.
duration?
optionalduration:number
Defined in: src/animation/Animation.ts:16
Duration of the animation in seconds (default: 1)
Inherited from
fill?
optionalfill:number
Defined in: src/animation/camera/CameraFocus.ts:24
Fraction of the frame's shorter half-extent the target's radius fills
(0..1]. Used when distance is not given and the target is a mobject.
Default: 0.5
phi?
optionalphi:number
Defined in: src/animation/camera/CameraFocus.ts:26
Target polar angle (radians). Default: keep the current angle.
rateFunc?
optionalrateFunc:RateFunction
Defined in: src/animation/Animation.ts:18
Rate function controlling the animation's pacing (default: smooth)
Inherited from
runTime?
optionalrunTime:number
Defined in: src/animation/camera/CameraFocus.ts:16
Alias of duration (Manim's run_time). Default: 1.5
screenOffset?
optionalscreenOffset: [number,number]
Defined in: src/animation/camera/CameraFocus.ts:34
Where the target lands on screen, in fixed-in-frame units (the HUD frame). [0, 0] is the frame centre; [0, 1] puts the target 1 unit above it, leaving room for a caption below. Default: [0, 0]
shift?
optionalshift: [number,number,number]
Defined in: src/animation/Animation.ts:20
Shift direction for fade animations
Inherited from
theta?
optionaltheta:number
Defined in: src/animation/camera/CameraFocus.ts:28
Target azimuthal angle (radians). Default: keep the current angle.