Through coordinates section in chapter 1

This commit is contained in:
Grant Sanderson
2016-07-15 18:16:06 -07:00
parent ba73032c90
commit 4e3f7292af
9 changed files with 742 additions and 77 deletions

View File

@ -74,6 +74,11 @@ class VMobject(Mobject):
self.set_stroke(color = color)
return self
def fade(self, darkness = 0.5):
self.set_fill(opacity = 1-darkness)
Mobject.fade(self, darkness)
return self
def get_fill_color(self):
try:
self.fill_rgb[self.fill_rgb<0] = 0