Skip to contents

A 3D parametric curve defined by f(t) -> (x, y, z).

Super classes

manimR::MObject -> manimR::VMobject -> manimR::ThreeDVMobject -> ParametricFunction3D

Public fields

func

Parametric function f(t) -> c(x, y, z)

t_range

Range c(min, max, step)

Methods

Inherited methods


Method new()

Create a 3D parametric curve

Usage

ParametricFunction3D$new(
  func,
  t_range = c(0, 1),
  color = YELLOW,
  stroke_width = DEFAULT_STROKE_WIDTH,
  num_points = 200,
  ...
)

Arguments

func

Function(t) returning c(x, y, z)

t_range

c(min, max) or c(min, max, step)

color

Curve color

stroke_width

Stroke width

num_points

Number of sample points for Bezier fitting

...

Additional args


Method clone()

The objects of this class are cloneable with this method.

Usage

ParametricFunction3D$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.