How to use the manimlib.mobject.types.vectorized_mobject.VMobject.__init__ function in manimlib

To help you get started, we’ve selected a few manimlib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Elteoremadebeethoven / MyAnimations / omega_creature / omega_creature_class.py View on Github external
def __init__(self, body, **kwargs):
        VMobject.__init__(self, **kwargs)
        self.body = body
        eyes = self.create_eyes()
        self.become(eyes, copy_submobjects=False)
github 3b1b / manim / manimlib / mobject / svg / svg_mobject.py View on Github external
def __init__(self, path_string, **kwargs):
        digest_locals(self)
        VMobject.__init__(self, **kwargs)
github 3b1b / manim / manimlib / mobject / svg / drawings.py View on Github external
def __init__(self, **kwargs):
        VMobject.__init__(self, **kwargs)
        self.add_iris_back()
        self.add_spikes()
        self.add_pupil()
github Solara570 / demo-solara / short / apollonian_gasket.py View on Github external
def __init__(self, agc1, agc2, agc3, **kwargs):
        VMobject.__init__(self, **kwargs)
        self.agc_list = [(agc1, agc2, agc3)]
        for n in range(self.num_iter+1):
            self.add(VGroup(*self.agc_list[-1]))
            if n != self.num_iter:
                self.update_agc_list(n)
github Solara570 / demo-solara / custom / custom_mobjects.py View on Github external
def __init__(self, **kwargs):
        VMobject.__init__(self, **kwargs)
        self.chess_pieces = []
        self.add_board()
        self.add_border()
        self.add_labels()
        self.set_height(self.height)
github 3b1b / manim / manimlib / mobject / geometry.py View on Github external
def __init__(self, start=LEFT, end=RIGHT, **kwargs):
        digest_config(self, kwargs)
        self.set_start_and_end_attrs(start, end)
        VMobject.__init__(self, **kwargs)
github 3b1b / manim / manimlib / for_3b1b_videos / pi_creature.py View on Github external
def __init__(self, body, **kwargs):
        VMobject.__init__(self, **kwargs)
        self.body = body
        eyes = self.create_eyes()
        self.become(eyes, copy_submobjects=False)
github 3b1b / manim / manimlib / mobject / geometry.py View on Github external
def __init__(self, start_angle=0, angle=TAU / 4, **kwargs):
        self.start_angle = start_angle
        self.angle = angle
        VMobject.__init__(self, **kwargs)
github 3b1b / manim / manimlib / mobject / svg / svg_mobject.py View on Github external
def __init__(self, file_name=None, **kwargs):
        digest_config(self, kwargs)
        self.file_name = file_name or self.file_name
        self.ensure_valid_file()
        VMobject.__init__(self, **kwargs)
        self.move_into_position()