import { Node, Img, Txt, Layout, makeScene2D } from "@motion-canvas/2d"; import { beginSlide, createRef, all } from "@motion-canvas/core"; import me from "../../public/img/me.jpg"; import { theme } from "../theme"; export default makeScene2D(function* (view) { const img = createRef(); const node = createRef(); const layout = createRef(); const src = createRef(); yield view.add( <> My name is Elizabeth{" "} (@simponic) {"=>"} I {"<3"} Functional Programming λ {"=>"} I'm a soon to be SDE at AWS in {"\n"}Seattle. {"=>"} 20, president of FSLC from 2021{"\n "} - 2024, grad this semester {" "} git.simponic.xyz/simponic/compiling-the-lambda-calculus , ); yield img().fill(img().getColorAtPoint(0)); const diff = 320; yield* all( img().size([450, 450], 1), img().radius(50, 1), img().alpha(1, 1), img().position.x(-1.3 * diff, 1), node().opacity(1, 1), layout().position.x(diff, 1), src().opacity(1, 1), src().position.y(290, 1), ); yield* beginSlide("About Me"); });