Applies a continuous deformation to a VMobject's points.
The homotopy function takes (x, y, z, t) and returns c(x', y', z').
Public fields
homotopy_func
Function(x, y, z, t) -> c(x', y', z')
Methods
Inherited methods
Method new()
Create a Homotopy animation
Usage
Homotopy$new(mobject, homotopy, run_time = 3, rate_func = "linear", ...)
Arguments
mobject
VMobject to deform
homotopy
Function(x, y, z, t) -> c(x', y', z')
run_time
Duration
rate_func
Easing
...
Additional args
Method interpolate_mobject()
Apply homotopy to all points at current t
Usage
Homotopy$interpolate_mobject(alpha)
Method clone()
The objects of this class are cloneable with this method.
Usage
Homotopy$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.