Gear¶
Qualified name: manim\_pymunk.custom\_mobjects.gear.Gear
- class Gear(num_teeth=12, radius=1.0, tooth_height=0.4, width_factor=0.5, roundness=0.05, hole_radius=0.1, **kwargs)[source]¶
Bases:
VMobjectMethods
Attributes
alwaysCall a method on a mobject every frame.
animateUsed to animate the application of any method of
self.colordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
- Parameters:
num_teeth (int)
radius (float)
tooth_height (float)
width_factor (float)
roundness (float)
hole_radius (float)
- _original__init__(num_teeth=12, radius=1.0, tooth_height=0.4, width_factor=0.5, roundness=0.05, hole_radius=0.1, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
num_teeth (int)
radius (float)
tooth_height (float)
width_factor (float)
roundness (float)
hole_radius (float)
- animation_overrides = {}¶