mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 17:29:06 +08:00
46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
|
|
from big_ol_pile_of_manim_imports import *
|
|
|
|
class WhatDoesItReallyMean(TeacherStudentsScene):
|
|
|
|
CONFIG = {
|
|
"default_pi_creature_kwargs": {
|
|
"color": MAROON_E,
|
|
"flip_at_start": True,
|
|
},
|
|
}
|
|
|
|
def construct(self):
|
|
|
|
student_q = TextMobject("What does", "``probability''", "\emph{actually}", "mean?")
|
|
student_q.set_color_by_tex("probability", YELLOW)
|
|
self.student_says(student_q, target_mode = "sassy")
|
|
self.wait()
|
|
self.play(
|
|
self.students[1].change_mode, "plain"
|
|
)
|
|
self.wait()
|
|
self.play(RemovePiCreatureBubble(self.students[1]))
|
|
|
|
self.wait()
|
|
|
|
self.teacher_says("Don't worry -- philosophy can come later!")
|
|
self.wait()
|
|
|
|
|
|
|
|
class EmptyTSScene(TeacherStudentsScene):
|
|
CONFIG = {
|
|
"default_pi_creature_kwargs": {
|
|
"color": MAROON_E,
|
|
"flip_at_start": True,
|
|
},
|
|
}
|
|
|
|
def construct(self):
|
|
|
|
self.wait()
|
|
self.play(*[
|
|
ApplyMethod(pi.look_at,ORIGIN) for pi in self.get_pi_creatures()
|
|
])
|
|
self.wait(8) |