Skip to content

Commit 0316fc8

Browse files
committed
Refactored slide transitions and corrected text formatting in the presentation
1 parent 5bbf2f1 commit 0316fc8

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

presentation/main.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,8 @@ def construct(self):
9191

9292
self.play(Write(title), Write(text1))
9393

94-
self.next_slide()
95-
9694
self.play(Write(text2))
9795

98-
self.next_slide()
99-
10096
self.play(FadeIn(image))
10197

10298
# self.next_slide()
@@ -179,7 +175,7 @@ def construct(self):
179175
instructions.next_to(title, DOWN*2, aligned_edge=LEFT)
180176

181177
subtitle2 = Tex(r"\textbf{Normas de sustitución}", font_size=36)
182-
text4 = Tex(r"F $\rightarrow$ F+F--F+F", font_size=36).next_to(subtitle2, DOWN, aligned_edge=LEFT)
178+
text4 = Tex(r"F $\rightarrow$ F+F- -F+F", font_size=36).next_to(subtitle2, DOWN, aligned_edge=LEFT)
183179

184180
rules = VGroup(subtitle2, text4)
185181
rules_box = SurroundingRectangle(rules, color=RED, buff=MED_LARGE_BUFF, corner_radius=0.2)
@@ -204,8 +200,6 @@ def construct(self):
204200
self.next_slide()
205201
self.play(MoveAlongPath(dot, kc9, run_time=2))
206202

207-
self.next_slide()
208-
209203
self.play(dot.animate.next_to(kc9, LEFT, buff=0))
210204

211205
self.next_slide()
@@ -223,7 +217,6 @@ def construct(self):
223217
# move to next position
224218
self.play(tracker.animate.set_value(stop),run_time=1.0)
225219
# pause, do something, pause
226-
self.next_slide()
227220

228221
dot.clear_updaters()
229222

@@ -312,8 +305,6 @@ def construct(self):
312305
## Slide 6: IFS
313306
##
314307

315-
self.next_slide()
316-
317308
title4 = Tex(r"2. Sistemas de funciones iteradas").to_edge(UP + LEFT)
318309
self.play(Transform(title, title4))
319310

@@ -686,7 +677,7 @@ def bifurcation_diagram(r_values, iterations=1000, last=100):
686677
# 3.1) Parámetros para el Mandelbrot
687678
RES = 500 # resolución
688679
MAX_ITER = 50 # iteraciones máximas
689-
XMIN, XMAX = -2, 1/4
680+
XMIN, XMAX = 1/4, -2
690681
YMIN, YMAX = -1.5, 1.5
691682

692683
# Para dibujar "abajo", crearemos un VGroup y luego lo moveremos

0 commit comments

Comments
 (0)