Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed OpeningManimExample

Grant Sanderson4fd27febf976
diff --git a/example_scenes.py b/example_scenes.py
index d80c93a27..22836e805 100644
--- a/example_scenes.py
+++ b/example_scenes.py
@@ -31,7 +31,7 @@ class OpeningManimExample(Scene):
transform_title.to_corner(UP + LEFT)
self.play(
Transform(title, transform_title),
- OldLaggedStart(FadeOutAndShiftDown, basel),
+ LaggedStart(*map(FadeOutAndShiftDown, basel)),
)
self.wait()
@@ -44,7 +44,7 @@ class OpeningManimExample(Scene):
self.play(
FadeOut(title),
FadeInFromDown(grid_title),
- Write(grid),
+ ShowCreation(grid, run_time=3, lag_ratio=0.1),
)
self.wait()