From 6a3ce850c5bb28875d424230998e811a699df37d Mon Sep 17 00:00:00 2001
From: Elizabeth Hunt <elizabeth.hunt@simponic.xyz>
Date: Wed, 7 Feb 2024 11:06:03 -0700
Subject: more

---
 src/scenes/flirtingwithfunctions.tsx | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

(limited to 'src/scenes/flirtingwithfunctions.tsx')

diff --git a/src/scenes/flirtingwithfunctions.tsx b/src/scenes/flirtingwithfunctions.tsx
index f833ce9..7f5f9da 100644
--- a/src/scenes/flirtingwithfunctions.tsx
+++ b/src/scenes/flirtingwithfunctions.tsx
@@ -1,13 +1,5 @@
-import { Img, Layout, Txt, Video, makeScene2D } from "@motion-canvas/2d";
-import {
-  Direction,
-  beginSlide,
-  createRef,
-  map,
-  slideTransition,
-  tween,
-} from "@motion-canvas/core";
-import { theme } from "../theme";
+import { Img, Video, makeScene2D } from "@motion-canvas/2d";
+import { beginSlide, createRef, map, tween } from "@motion-canvas/core";
 import sad from "../../public/img/sad.mp4";
 import emacsmac from "../../public/img/emacsmac.jpg";
 
@@ -17,8 +9,8 @@ export default makeScene2D(function* (view) {
   const startX = 1200;
   const endX = 300;
 
-  view.add(<Video width={300} ref={vid} src={sad} x={0} />);
-  view.add(<Img width={200} ref={img} src={emacsmac} x={startX} />);
+  yield view.add(<Video width={300} ref={vid} src={sad} x={0} />);
+  yield view.add(<Img width={200} ref={img} src={emacsmac} x={startX} />);
 
   yield vid().play();
   yield vid().loop(true);
-- 
cgit v1.3

