mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Change default color and bubble creation for teacher student scenes
This commit is contained in:
parent
cfc5ecc59c
commit
3628b61d75
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
from manimlib.animation.animation import Animation
|
||||
from manimlib.animation.composition import AnimationGroup
|
||||
from manimlib.animation.fading import FadeOut
|
||||
from manimlib.animation.creation import ShowCreation
|
||||
from manimlib.animation.creation import DrawBorderThenFill
|
||||
from manimlib.animation.creation import Write
|
||||
from manimlib.animation.transform import ApplyMethod
|
||||
from manimlib.animation.transform import MoveToTarget
|
||||
|
@ -28,7 +28,7 @@ class PiCreatureBubbleIntroduction(AnimationGroup):
|
|||
"target_mode": "speaking",
|
||||
"bubble_class": SpeechBubble,
|
||||
"change_mode_kwargs": {},
|
||||
"bubble_creation_class": ShowCreation,
|
||||
"bubble_creation_class": DrawBorderThenFill,
|
||||
"bubble_creation_kwargs": {},
|
||||
"bubble_kwargs": {},
|
||||
"content_introduction_class": Write,
|
||||
|
|
|
@ -254,6 +254,9 @@ class TeacherStudentsScene(PiCreatureScene):
|
|||
"student_scale_factor": 0.8,
|
||||
"seconds_to_blink": 2,
|
||||
"screen_height": 3,
|
||||
"camera_config": {
|
||||
"background_color": DARKER_GREY,
|
||||
},
|
||||
}
|
||||
|
||||
def setup(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue