Skip to contents

Animation that interpolates a ValueTracker's value.

Super class

manimR::Animation -> ValueAnimation

Public fields

tracker

The ValueTracker to animate

target_value

The target value

Methods

Inherited methods


Method new()

Create a ValueAnimation

Usage

ValueAnimation$new(tracker, target_value, run_time = 1, rate_func = "smooth")

Arguments

tracker

ValueTracker

target_value

Target value

run_time

Duration

rate_func

Easing


Method begin()

Save start value

Usage

ValueAnimation$begin()


Method interpolate_mobject()

Interpolate value

Usage

ValueAnimation$interpolate_mobject(alpha)

Arguments

alpha

Eased progress


Method clone()

The objects of this class are cloneable with this method.

Usage

ValueAnimation$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.