Battttttttttttery

class manim_eng.components.xkcd.Battttttttttttery(voltage: str | None = None, **kwargs: Any)

Bases: RandalMunroeSourceBase

Circuit symbol for Randall Munroe’s battttttttttttery.

See https://xkcd.com/2818/.

Parameters:

voltage (str | None) – Voltage label to set on creation, if desired. Takes a TeX math mode string.

Attributes

Battttttttttttery.animate

Used to animate the application of any method of self.

Battttttttttttery.animation_overrides

Battttttttttttery.anode

Return the anode (positive terminal) of the source.

Battttttttttttery.cathode

Return the cathode (negative terminal) of the source.

Battttttttttttery.color

Battttttttttttery.depth

The depth of the mobject.

Battttttttttttery.fill_color

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

Battttttttttttery.height

The height of the mobject.

Battttttttttttery.left

Return the left-hand terminal of the component.

Battttttttttttery.n_points_per_curve

Battttttttttttery.negative

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

Battttttttttttery.positive

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

Battttttttttttery.right

Return the right-hand terminal of the component.

Battttttttttttery.sheen_factor

Battttttttttttery.stroke_color

Battttttttttttery.terminals

The list of terminals of the component.

Battttttttttttery.width

The width of the mobject.