mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Small updates to hyperdarts scenes
This commit is contained in:
parent
85e5b20ede
commit
77797741a5
1 changed files with 30 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue