CapacitiveSensor¶
- class manim_eng.components.capacitors.CapacitiveSensor(**kwargs: Any)¶
Bases:
SensorModifier,CapacitorCircuit symbol for a capacitive sensor.
Attributes
CapacitiveSensor.animateUsed to animate the application of any method of
self.CapacitiveSensor.animation_overridesCapacitiveSensor.colorCapacitiveSensor.depthThe depth of the mobject.
CapacitiveSensor.fill_colorIf there are multiple colors (for gradient) this returns the first one
CapacitiveSensor.heightThe height of the mobject.
CapacitiveSensor.leftReturn the left-hand terminal of the component.
CapacitiveSensor.n_points_per_curveCapacitiveSensor.rightReturn the right-hand terminal of the component.
CapacitiveSensor.sheen_factorCapacitiveSensor.stroke_colorCapacitiveSensor.terminalsThe list of terminals of the component.
CapacitiveSensor.widthThe width of the mobject.
- _construct() None¶
Construct the shape of the component.
Code to build the component’s symbol goes in here and not in
__init__()(contrary to Manim’s standard). This is because the baseComponentclass has to perform initialisation both before (to set up the groups etc.) and after (to set the anchor positions for annotations) the component’s shape setup.