On this page

Rotating

from noon import Rotating

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

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

ManimCE ``Rotating`` for the exact centered 2D subset.

Unlike ``Rotate``, Manim's ``Rotating`` keeps ``about_point=None`` until frame
interpolation and defaults to a full turn over five seconds with linear timing.
The centered 2D case maps exactly to the same scalar rotation channel used by
``Rotate``; unsupported pivot/family/3D cases fail instead of being approximated.

Rotating.__init__

Rotating.__init__(self, mobject: object, angle: float=math.tau, axis: object=_compat.OUT, about_point: object | None=None, about_edge: object | None=None, run_time: float=5.0, rate_func: object=_rate_functions.linear, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjectpositional or keywordobjectNo default
anglepositional or keywordfloatmath.tau
axispositional or keywordobject_compat.OUT
about_pointpositional or keywordobject | NoneNone
about_edgepositional or keywordobject | NoneNone
run_timepositional or keywordfloat5.0
rate_funcpositional or keywordobject_rate_functions.linear
kwargs**kwargsAnyNo default

Return annotation: None

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

Source declaration