Skip to contents

Spirals a mobject in from outside the frame.

Super class

manimR::Animation -> SpiralIn

Public fields

spiral_radius

Starting distance from center

n_turns

Number of spiral turns

Methods

Inherited methods


Method new()

Create a SpiralIn animation

Usage

SpiralIn$new(
  mobject,
  spiral_radius = 3,
  n_turns = 1,
  run_time = 1.5,
  rate_func = "smooth",
  ...
)

Arguments

mobject

Mobject

spiral_radius

Starting distance from final position

n_turns

Number of spiral turns

run_time

Duration

rate_func

Easing

...

Additional args


Method begin()

Save target, move to spiral start

Usage

SpiralIn$begin()


Method interpolate_mobject()

Spiral inward

Usage

SpiralIn$interpolate_mobject(alpha)

Arguments

alpha

Eased progress


Method clone()

The objects of this class are cloneable with this method.

Usage

SpiralIn$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.