Beginning MusicExample of bayes

This commit is contained in:
Grant Sanderson
2017-06-08 21:56:53 -07:00
parent 1414ba4ce9
commit 5ceb0bd2a3
3 changed files with 162 additions and 9 deletions

View File

@ -11,6 +11,19 @@ from animation.simple_animations import Rotating
from topics.geometry import Circle, Line, Rectangle, Square, Arc, Polygon
from topics.three_dimensions import Cube
class Guitar(SVGMobject):
CONFIG = {
"file_name" : "guitar",
"height" : 2.5,
"fill_color" : DARK_GREY,
"fill_opacity" : 1,
"stroke_color" : WHITE,
"stroke_width" : 0.5,
}
def __init__(self, **kwargs):
SVGMobject.__init__(self, **kwargs)
self.scale_to_fit_height(self.height)
class SunGlasses(SVGMobject):
CONFIG = {
"file_name" : "sunglasses",