Commit 6ade2130 authored by Shiven Bhatt's avatar Shiven Bhatt
Browse files

adding timings

parent cc9dc259
......@@ -41,9 +41,9 @@ class Slides(Scene):
# rasterization animation here
### PROBLEMS ####
get_sphere_slide("sad_sphere.png", "\"I'm not smooth\" :(", [1, 1]),
Slide([self.get_image_group(["shadow.png", "glass.png"])], [1]),
Slide([Text(guru_text,color="white",font_size=20)], [1]),
get_sphere_slide("sad_sphere.png", "\"I'm not smooth\" :(", [3, 7]),
Slide([self.get_image_group(["shadow.png", "glass.png"])], [25]),
Slide([Text(guru_text,color="white",font_size=20)], [18]),
### RAYTRACING ###
# raytracing animation goes here
......@@ -119,8 +119,8 @@ class Title(Scene):
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))
self.wait(1.5)
self.play(FadeOut(t0,t1,t3,t4), run_time=0.5)
class RasterizationTriangleScene(ThreeDScene):
def construct(self):
......@@ -172,12 +172,12 @@ class RaytracingScene(Scene):
lightbulb = ImageMobject("lightbulb.png")
lightbulb.shift([-0.75, -3.5, 0])
self.add(lightbulb)
self.play(Create(square), run_time=0.5)
self.play(Create(circle), run_time=0.5)
self.play(Create(triangle), run_time=0.5)
self.wait(1)
light_rays = [
([-2, 5, 0], [-2, -0.85, 0]),
([-2, -0.85, 0], [1.4, -2.2, 0]),
......
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