mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 04:53:34 +08:00
31 lines
814 B
Python
31 lines
814 B
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()
|
|
|
|
question_bubble = VGroup(student_q, students[1].bubble)
|
|
scaled_qb = question_bubble.copy()
|
|
scaled_qb.scale(0.4).to_corner(UL)
|
|
self.play(Transform(question_bubble, scaled_qb))
|
|
self.wait()
|
|
|
|
|
|
|
|
self.teacher_says("Don't worry -- philosophy can come later!")
|
|
self.wait()
|
|
|