From 0c476e92e1807928ffb30864126076ef4c6a0821 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 13 Feb 2024 20:00:02 -0700 Subject: add all the stuff --- src/scenes/further.tsx | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/scenes/further.tsx (limited to 'src/scenes/further.tsx') diff --git a/src/scenes/further.tsx b/src/scenes/further.tsx new file mode 100644 index 0000000..8758080 --- /dev/null +++ b/src/scenes/further.tsx @@ -0,0 +1,43 @@ +import { Layout, Txt, makeScene2D } from "@motion-canvas/2d"; +import { + Direction, + beginSlide, + createRef, + slideTransition, +} from "@motion-canvas/core"; +import { theme } from "../theme"; + +const goingFurtherLInes = [ + "pattern matching", + "the typed lambda calculus", + "church turing thesis", + "lazy vs eager loading, why we use left innermost reduction", + "compiling to machine code & continuation passing style as IR", + "monads", +]; + +export default makeScene2D(function* (view) { + const lines = createRef(); + + view.add( + + + Going Further + + + + ); + + yield* slideTransition(Direction.Right); + yield* beginSlide("Going Further"); + + for (const line of goingFurtherLInes) { + yield* lines().text(lines().text() + "\n\n" + line, 1); + yield* beginSlide("line - " + line); + } +}); -- cgit v1.2.3-70-g09d2