simple

class janim.components.simple.Cmpt_Float(default_value, *args, **kwargs)

Bases: Component, Generic

A Component wrapper for float

copy() Self
become(other: Cmpt_Float) Self
not_changed(other: Cmpt_Float) Self
classmethod align_for_interpolate(cmpt1: Cmpt_Float, cmpt2: Cmpt_Float)
interpolate(cmpt1: Cmpt_Float, cmpt2: Cmpt_Float, alpha: float, *, path_func=None) None
set(value: float) Self
get() float
class janim.components.simple.Cmpt_Alpha(default_value, *args, **kwargs)

Bases: Cmpt_Float, Generic

Same as Cmpt_Float, but convenient for isinstance

class janim.components.simple.Cmpt_List(iterable=(), /)

Bases: list[T], Component, Generic

A Component wrapper for list

copy() Self

Return a shallow copy of the list.

become(other: Cmpt_List) Self
not_changed(other: Cmpt_List) Self
class janim.components.simple.Cmpt_Dict

Bases: dict[K, V], Component, Generic

A Component wrapper for dict

copy() a shallow copy of D
become(other: Cmpt_Dict) Self
not_changed(other: Cmpt_Dict) Self