Baertty¶
- class manim_eng.components.xkcd.Baertty(voltage: str | None = None, **kwargs: Any)¶
Bases:
RandalMunroeSourceBaseCircuit symbol for Randall Munroe’s baertty.
- Parameters:
voltage (str | None) – Voltage label to set on creation, if desired. Takes a TeX math mode string.
Attributes
Baertty.animateUsed to animate the application of any method of
self.Baertty.animation_overridesBaertty.anodeReturn the anode (positive terminal) of the source.
Baertty.cathodeReturn the cathode (negative terminal) of the source.
Baertty.colorBaertty.depthThe depth of the mobject.
Baertty.fill_colorIf there are multiple colors (for gradient) this returns the first one
Baertty.heightThe height of the mobject.
Baertty.leftReturn the left-hand terminal of the component.
Baertty.n_points_per_curveBaertty.negativeReturn the negative (left-hand) terminal of the source.
Baertty.positiveReturn the positive (right-hand) terminal of the source.
Baertty.rightReturn the right-hand terminal of the component.
Baertty.sheen_factorBaertty.stroke_colorBaertty.terminalsThe list of terminals of the component.
Baertty.widthThe width of the mobject.