Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Changed configuration setup for Broadcast

Grant Sanderson578099811547
diff --git a/topics/objects.py b/topics/objects.py
index c8c4d13a8..7fc5d69be 100644
--- a/topics/objects.py
+++ b/topics/objects.py
@@ -493,6 +493,8 @@ class Broadcast(LaggedStart):
"small_radius" : 0.0,
"big_radius" : 5,
"n_circles" : 5,
+ "start_stroke_width" : 8,
+ "color" : WHITE,
"remover" : True,
"lag_ratio" : 0.7,
"run_time" : 3,
@@ -510,7 +512,7 @@ class Broadcast(LaggedStart):
circle.move_to(focal_point)
circle.save_state()
circle.scale_to_fit_width(self.small_radius*2)
- circle.set_stroke(WHITE, 8)
+ circle.set_stroke(self.color, self.start_stroke_width)
circles.add(circle)
LaggedStart.__init__(
self, ApplyMethod, circles,