Skip to content

Commit

Permalink
Merge pull request #239 from erinmiso/curate-project-foods
Browse files Browse the repository at this point in the history
Curate project foods
  • Loading branch information
amyjko authored Oct 31, 2023
2 parents 6427f52 + a379318 commit a54926b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/examples/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export function getExampleGalleries(locales: Locales): Gallery[] {
'FontMachine',
'Pumpkin',
'Size',
'Floating Foods',
]
),
createGallery(
Expand Down
21 changes: 21 additions & 0 deletions static/examples/FloatingFoods.wp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Floating Foods
===
food: "🥮🍵🧋🥟🍛🍜🍱🍘🍢" ÷ ""

latest•['']:
food … ∆ Time(1000ms) …
latest.replace(Random(1 6) food.random())

Group(
Grid(3 3m 1m 1m)
latest.translate(
ƒ (dish•"" index•#)
Phrase(
dish
name: "\dish\-\index\"
entering: Pose(opacity: 0 scale: 2)
resting: Sequence(sway(360°) duration:4s)
duration: 1s
)
)
)

0 comments on commit a54926b

Please sign in to comment.