CurrentSourceBase

class manim_eng.components.base.source.CurrentSourceBase(current: str | None = None, **kwargs: Any)

Bases: Source

Base class of all current sources.

Attributes

CurrentSourceBase.animate

Used to animate the application of any method of self.

CurrentSourceBase.animation_overrides

CurrentSourceBase.anode

Return the anode (positive terminal) of the source.

CurrentSourceBase.cathode

Return the cathode (negative terminal) of the source.

CurrentSourceBase.color

CurrentSourceBase.depth

The depth of the mobject.

CurrentSourceBase.fill_color

If there are multiple colors (for gradient) this returns the first one

CurrentSourceBase.height

The height of the mobject.

CurrentSourceBase.left

Return the left-hand terminal of the component.

CurrentSourceBase.n_points_per_curve

CurrentSourceBase.negative

Return the negative (left-hand) terminal of the source.

CurrentSourceBase.positive

Return the positive (right-hand) terminal of the source.

CurrentSourceBase.right

Return the right-hand terminal of the component.

CurrentSourceBase.sheen_factor

CurrentSourceBase.stroke_color

CurrentSourceBase.terminals

The list of terminals of the component.

CurrentSourceBase.width

The width of the mobject.