Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Small updates to hyperdarts scenes

Grant Sanderson77797741a5ef
diff --git a/active_projects/hyperdarts.py b/active_projects/hyperdarts.py
index 4e69b1ce4..e0d972a5f 100644
--- a/active_projects/hyperdarts.py
+++ b/active_projects/hyperdarts.py
@@ -806,6 +806,11 @@ class ShowSeveralRoundsQuickly(ShowSeveralRounds):
pass # Handled elsewhere
+class ShowSeveralRoundsVeryQuickly(ShowSeveralRoundsQuickly):
+ def construct(self):
+ pass
+
+
class ShowUniformDistribution(HyperdartScene):
CONFIG = {
"dart_sound": "dart_high",
@@ -882,9 +887,34 @@ class ExpectedScoreEqualsQMark(Scene):
class ScoreHistogram(Scene):
+ CONFIG = {
+ "axes_config": {
+ ""
+ }
+ }
+
def construct(self):
+ self.add_axes()
+ self.add_score_label()
+ self.setup_histogram()
+ self.show_many_runs()
+
+ def add_axes(self):
+ axes = Axes(**self.axes_config)
+
+ def add_score_label(self):
+ pass
+
+ def setup_histogram(self):
+ pass
+
+ def show_many_runs(self):
pass
+
#
+ def add_one_run(self, animate=True):
+ pass
+
def get_random_score(self):
pass