On this page

FocusOn

from noon import FocusOn

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: object. Declared members follow; inherited and dynamically attached members are not expanded.

Shrink Manim's temporary frame-sized spotlight to one fixed 2D point.

The supported subset is exact for explicit fixed points and for leaf Mobjects whose
center stays fixed for the duration of the FocusOn play. Moving focus targets require
updater semantics and remain outside this fixed-point request.

FocusOn.__init__

FocusOn.__init__(self, focus_point: object, opacity: float=0.2, color: _base.Color=_base.GREY, run_time: float=2.0, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
focus_pointpositional or keywordobjectNo default
opacitypositional or keywordfloat0.2
colorpositional or keyword_base.Color_base.GREY
run_timepositional or keywordfloat2.0
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration