Пример #1
0
 def init_colors(self):
     SVGMobject.init_colors(self)
     if not self.parts_named:
         self.name_parts()
     self.mouth.set_fill(BLACK, opacity=1)
     self.body.set_fill(self.color, opacity=1)
     self.eyes.set_fill(WHITE, opacity=1)
     self.init_pupils()
     return self
Пример #2
0
 def init_colors(self):
     SVGMobject.init_colors(self)
     if not self.parts_named:
         self.name_parts()
     self.mouth.set_fill(BLACK, opacity=1)
     self.body.set_fill(self.color, opacity=1)
     self.eyes.set_fill(WHITE, opacity=1)
     self.init_pupils()
     return self
Пример #3
0
 def init_colors(self):
     SVGMobject.init_colors(self)
     self.name_parts()
     self.head.set_fill(self.head_color, opacity=1)
     self.body.set_fill(self.body_color, opacity=1)
     self.eye_left_out.set_fill(WHITE, opacity=1)
     self.eye_right_out.set_fill(WHITE, opacity=1)
     self.eye_left_in.set_fill(BLACK, opacity=1)
     self.eye_right_in.set_fill(BLACK, opacity=1)
Пример #4
0
 def init_colors(self):
     SVGMobject.init_colors(self)
     if not self.parts_named:
         self.name_parts()
     self.mouth.set_fill(BLACK, opacity=1)
     self.body.set_fill(self.color, opacity=1)
     self.pupils.set_fill(BLACK, opacity=1)
     # self.pupils.set_stroke(DARK_GREY, width=1)
     self.add_pupil_light_spot(self.pupils)
     self.eyes.set_fill(WHITE, opacity=1)
     return self
 def init_colors(self):
     SVGMobject.init_colors(self)
     if not self.parts_named:
         self.name_parts()
     self.mouth.set_fill(GREY, opacity=1)
     self.body.set_fill(BLUE, opacity=1)
     self.eyes.set_fill(WHITE, opacity=1)
     self.a.set_fill(RED, opacity=1)
     self.a.set_stroke(RED, opacity=1)
     self.b.set_fill(PURPLE, opacity=1)
     self.b.set_stroke(PURPLE, opacity=1)
     self.c.set_fill(GREEN, opacity=1)
     self.c.set_stroke(GREEN, opacity=1)
     self.d.set_fill(YELLOW, opacity=1)
     self.d.set_stroke(YELLOW, opacity=1)
     self.e.set_fill(GREY, opacity=1)
     self.e.set_stroke(GREY, opacity=1)
     self.f.set_fill(GREY, opacity=1)
     self.f.set_stroke(GREY, opacity=1)
     #self.g.set_fill(YELLOW, opacity=.4)
     #self.h.set_fill(YELLOW, opacity=.4)
     self.init_pupils()
     return self