summaryrefslogtreecommitdiff
path: root/src/scenes/example.tsx
diff options
context:
space:
mode:
authorLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-02-01 11:00:17 -0700
committerLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-02-01 11:00:17 -0700
commitd7495c101d5aea78dfac8116e8535c0a0df3b6d1 (patch)
tree7c94f6756acdb45196f4786edae1e3ebe7acac43 /src/scenes/example.tsx
downloadcompiling-the-lambda-calculus-d7495c101d5aea78dfac8116e8535c0a0df3b6d1.tar.gz
compiling-the-lambda-calculus-d7495c101d5aea78dfac8116e8535c0a0df3b6d1.zip
initial commit
Diffstat (limited to 'src/scenes/example.tsx')
-rw-r--r--src/scenes/example.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scenes/example.tsx b/src/scenes/example.tsx
new file mode 100644
index 0000000..3e35184
--- /dev/null
+++ b/src/scenes/example.tsx
@@ -0,0 +1,8 @@
+import { makeScene2D } from "@motion-canvas/2d";
+import { waitFor } from "@motion-canvas/core";
+
+export default makeScene2D(function* (view) {
+ // Create your animations here
+
+ yield* waitFor(5);
+});