Commit 5889d29d authored by Ethan Fisher's avatar Ethan Fisher
Browse files

temp

parent 6e93f0af
......@@ -45,6 +45,21 @@ class SadSphere(Scene):
self.wait(3)
self.play(FadeOut(im, text))
class Title(Scene):
def construct(self):
t2 = Text("d",color="black",font_size=90).scale(0.25)
t1 = Text("Carlo",color='#8080ff',font_size=90).scale(1).next_to(t2,UP)
t0 = Text("Monte",color="pink",font_size=90).scale(1).next_to(t1,UP)
t3 = Text("Ray",color="purple",font_size=90).scale(1).next_to(t2,DOWN)
t4 = Text("Tracing",color="green",font_size=90).scale(1).next_to(t3,DOWN)
self.wait(1)
self.play(FadeIn(t0),lag_ratio=0.1,run_time=0.5)
self.play(FadeIn(t1),lag_ratio=0.1,run_time=0.5)
self.play(FadeIn(t3),lag_ratio=0.1,run_time=0.5)
self.play(FadeIn(t4),lag_ratio=0.1,run_time=0.5)
self.wait(3)
self.play(FadeOut(t0,t1,t3,t4))
class HappySphere(Scene):
def construct(self):
im = ImageMobject("happy_sphere.png")
......@@ -56,19 +71,6 @@ class HappySphere(Scene):
self.play(FadeIn(text))
self.wait(3)
self.play(FadeOut(im, text))
def Title(Scene):
def construct(self):
t0 = Text("Monte",color="pink",font_size=90).scale(0.5).align_to(,DOWN)
t1 = Text("Carlo",color="blue",font_size=90).scale(0.5).next_to(t0,DOWN)
t2 = Text("Ray",color="purple",font_size=90).scale(0.5).next_to(t1,DOWN)
t3 = Text("Tracing",color="green",font_size=90).scale(0.5).next_to(t2,DOWN)
self.play(FadeIn(t0),runtime=0.5)
self.play(FadeIn(t1),runtime=0.5)
self.play(FadeIn(t2),runtime=0.5)
self.play(FadeIn(t3),runtime=0.5)
self.wait(3)
self.play(FadeOut(t0,t1,t2,t3))
class RasterizationTriangleScene(ThreeDScene):
......@@ -90,4 +92,4 @@ class RasterizationTriangleScene(ThreeDScene):
self.play(Transform(triangle, plane_triangle))
self.wait(1)
self.move_camera(phi=PI, theta=0, gamma= PI / 2)
self.wait(1)
\ No newline at end of file
self.wait(1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment