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
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
focus_point | positional or keyword | object | No default |
opacity | positional or keyword | float | 0.2 |
color | positional or keyword | _base.Color | _base.GREY |
run_time | positional or keyword | float | 2.0 |
kwargs | **kwargs | Any | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.