Skip to contents

Applies an arbitrary function to the mobject's points and animates the transition.

Super classes

manimR::Animation -> manimR::Transform -> ApplyFunction

Methods

Inherited methods


Method new()

Create an ApplyFunction animation

Usage

ApplyFunction$new(mobject, func, run_time = 1, rate_func = "smooth", ...)

Arguments

mobject

VMobject whose points will be transformed

func

A function(point) -> point applied to each control point

run_time

Duration

rate_func

Easing

...

Additional args


Method clone()

The objects of this class are cloneable with this method.

Usage

ApplyFunction$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.