z-agent / papers-context /agent_workspace /manim_docs /reference /manim.animation.transform.ApplyMatrix.md
ProgramerSalar's picture
fix: track binary files with Git LFS
dc00adb
|
Raw
History Blame Contribute Delete
1.43 kB

A newer version of the Gradio SDK is available: 6.20.0

Upgrade

ApplyMatrix

Qualified name: manim.animation.transform.ApplyMatrix

class ApplyMatrix(mobject=None, *args, use_override=True, **kwargs)

Bases: ApplyPointwiseFunction

Applies a matrix transform to an mobject.

  • Parameters:
    • matrix (np.ndarray) – The transformation matrix.
    • mobject (Mobject) – The Mobject.
    • about_point (np.ndarray) – The origin point for the transform. Defaults to ORIGIN.
    • kwargs – Further keyword arguments that are passed to ApplyPointwiseFunction.

Examples

Methods

initialize_matrix

Attributes

path_arc
path_func
run_time

_original__init__(matrix, mobject, about_point=array([0., 0., 0.]), **kwargs)

Initialize self. See help(type(self)) for accurate signature.

  • Parameters:
    • matrix (ndarray)
    • mobject (Mobject)
    • about_point (ndarray)
  • Return type: None