Diode¶
- class manim_eng.components.diodes.Diode(left: Terminal | None = None, right: Terminal | None = None, **kwargs: Any)¶
Bases:
SquareBipoleCircuit symbol for a diode.
Attributes
Diode.animateUsed to animate the application of any method of
self.Diode.animation_overridesReturn the anode (positive terminal) of the diode.
Return the cathode (negative terminal) of the diode.
Diode.colorDiode.depthThe depth of the mobject.
Diode.fill_colorIf there are multiple colors (for gradient) this returns the first one
Diode.heightThe height of the mobject.
Diode.leftReturn the left-hand terminal of the component.
Diode.n_points_per_curveReturn the negative terminal of the diode.
Return the positive terminal of the diode.
Diode.rightReturn the right-hand terminal of the component.
Diode.sheen_factorDiode.stroke_colorDiode.terminalsThe list of terminals of the component.
Diode.widthThe width of the mobject.