Battery

manim_eng.components.cells.Battery

Attributes

Battery.animate

Used to animate the application of any method of self.

Battery.animation_overrides

Battery.anode

Return the anode (positive terminal) of the source.

Battery.cathode

Return the cathode (negative terminal) of the source.

Battery.color

Battery.depth

The depth of the mobject.

Battery.fill_color

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

Battery.height

The height of the mobject.

Battery.left

Return the left-hand terminal of the component.

Battery.n_points_per_curve

Battery.negative

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

Battery.positive

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

Battery.right

Return the right-hand terminal of the component.

Battery.sheen_factor

Battery.stroke_color

Battery.terminals

The list of terminals of the component.

Battery.width

The width of the mobject.

alias of DoubleCell