# Veg box recipe video

> A 1080 by 1920 single-page vertical video of about 13 seconds in which four numbered steps for a leek and potato soup land one by one on the lid of a pot, each with a drawn vegetable from the weekly box. The step is one component, so changing a recipe means editing four headings, four lines of method and four drawings, and the cook time is one pill.

- The design, as a .vd file: https://getv.design/library/veg-box-recipe-video.vd
- Its page: https://getv.design/library/veg-box-recipe-video

## How it was made

Drafted from this prompt:

> A recipe video from Tarnside Farm: leek and potato soup in four steps, with the vegetables from the weekly box and the cook time.

Then refined:

- Made the drawn vegetables about a third larger so they read on a phone.
- Shortened the pacing so the clip runs about 13 seconds, which keeps the GIF smaller.

## Make it yours

- "Make a veg box recipe video for next week's box."
- "Change the recipe to roast carrot soup and swap the drawings."
- "Change the cook time and the number of boxes."

## The source

```vd
version 12
kind design
title "Veg box recipe video"
$m = 80
$leaf = #9DB86B
$deep = #5E7B35
$cream = #FFF7E6
$grey = #3C3F43
$pan = #2B2D30
$rim = #55585D
$butter = #F5D547

font display = Chango
  fallback "Impact, sans-serif"
  face asset=chango-400 weight=400

font body = "Proza Libre"
  fallback "Georgia, serif"
  face asset=proza-libre-400 weight=400
  face asset=proza-libre-700 weight=700

asset chango-400 = font/woff2 hash=sha256-850d1124738b23ae1ae0c45c95bb3402595d8b42773f470528f58f3bfac33146 bytes=12068 license=OFL
asset proza-libre-400 = font/woff2 hash=sha256-1efb90a209c7079a60aee56f19466e7efbffd70eeb971ce6bef57f62de5b361b bytes=23204 license=OFL
asset proza-libre-700 = font/woff2 hash=sha256-61afe61a98a3d61ec5f87156eeb7c159fec23dc9540f68606ca020555eb2b1da bytes=25212 license=OFL

frame step x=0 y=2100 w=800 h=124 component
  ellipse step.num.disc x=0 y=20 w=84 h=84 fill=butter
  text step.num x=@step.num.disc.x y=@step.num.disc.y w=@step.num.disc.w h=@step.num.disc.h font=display size=44 fill=grey align=center valign=middle
    "1"
  text step.head x=(@step.num.disc.right + 28) y=2 w=470 h=48 font=display size=38 fill=butter valign=middle
    "Step"
  text step.body x=@step.head.x y=(@step.head.bottom + 4) w=470 h=70 font=body size=27 lineHeight=1.25 fill=cream
    "Words"
  ellipse step.veg.disc x=(100% - 124) y=0 w=124 h=124 fill=leaf

frame recipe x=0 y=0 w=1080 h=1920 background=cream
  text recipe.farm x=$m y=262 w=520 h=48 font=display size=40 fill=grey
    "Tarnside Farm"
  text recipe.sub x=$m y=(@recipe.farm.bottom + 6) w=560 h=40 font=body size=30 fill=grey
    "From this week's veg box"
  rect recipe.time x=(100% - $m - 300) y=266 w=300 h=84 radius=42 fill=butter
  text recipe.time.label x=@recipe.time.x y=@recipe.time.y w=@recipe.time.w h=@recipe.time.h font=display size=36 fill=grey align=center valign=middle
    "35 minutes"
  rect recipe.handle.l x=24 y=1430 w=110 h=64 radius=32 fill=rim
  rect recipe.handle.r x=(100% - 134) y=1430 w=110 h=64 radius=32 fill=rim
  rect recipe.pot x=60 y=1340 w=(100% - 120) h=420 radius="0 0 150 150" fill=pan
  text recipe.pot.note x=@recipe.pot.x y=1560 w=@recipe.pot.w h=40 font=body size=30 fill=cream align=center
    "600 boxes a week, packed in Cumbria"
  rect recipe.knob x=(parent.cx - 62) y=462 w=124 h=70 radius=35 fill=grey
  rect recipe.lid x=$m y=520 w=(100% - $m * 2) h=840 radius="320 320 0 0" fill=grey
  rect recipe.rim x=60 y=(@recipe.lid.bottom - 2) w=(100% - 120) h=40 radius=20 fill=rim
  text recipe.title x=(parent.cx - 310) y=(@recipe.lid.y + 70) w=620 h=170 font=display size=76 lineHeight=1.05 fill=cream align=center
    "Leek and potato soup"
  instance s1 component=step x=(@recipe.lid.x + 60) y=(@recipe.lid.y + 270)
    override step.head
      "Soften the leeks"
    override step.body
      "Slice two leeks and cook them in butter for 8 minutes."
  instance s2 component=step x=@s1.x y=(@s1.bottom + 12)
    override step.num
      "2"
    override step.head
      "Add the potatoes"
    override step.body
      "Dice 500 g of potatoes and add them with 1 litre of stock."
  instance s3 component=step x=@s1.x y=(@s2.bottom + 12)
    override step.num
      "3"
    override step.head
      "Simmer gently"
    override step.body
      "Drop in a sprig of thyme and simmer for 20 minutes."
  instance s4 component=step x=@s1.x y=(@s3.bottom + 12)
    override step.num
      "4"
    override step.head
      "Blend and serve"
    override step.body
      "Blend smooth, season, then top with snipped chives."
  group veg.1
    vector veg.1.l x=(@s1.right - 108) y=(@s1.y + 0) w=104 h=104 view="0 0 80 80" d="M40 48 C20 38 12 20 16 4 C30 14 42 30 40 48Z" fill=deep
    vector veg.1.r x=(@s1.right - 108) y=(@s1.y + 0) w=104 h=104 view="0 0 80 80" d="M40 48 C60 38 68 20 64 4 C50 14 38 30 40 48Z" fill=deep
    vector veg.1.m x=(@s1.right - 108) y=(@s1.y + 0) w=104 h=104 view="0 0 80 80" d="M40 50 C30 32 30 14 40 -2 C50 14 50 32 40 50Z" fill=#7C9B4A
    rect veg.1.stalk x=(@s1.right - 69) y=(@s1.y + 62) w=26 h=44 radius=9 fill=cream
  group veg.2
    ellipse veg.2.body x=(@s2.right - 108) y=(@s2.y + 27) w=94 h=68 fill=butter rotation=-18
    ellipse veg.2.eye1 x=(@s2.right - 85) y=(@s2.y + 49) w=10 h=10 fill=grey opacity=0.55
    ellipse veg.2.eye2 x=(@s2.right - 53) y=(@s2.y + 36) w=10 h=10 fill=grey opacity=0.55
    ellipse veg.2.eye3 x=(@s2.right - 51) y=(@s2.y + 67) w=10 h=10 fill=grey opacity=0.55
  group veg.3
    vector veg.3.stem x=(@s3.right - 108) y=(@s3.y + 0) w=104 h=104 view="0 0 80 80" d="M16 70 Q40 44 62 10" fill=none stroke=cream strokeWidth=5 cap=round
    ellipse veg.3.a x=(@s3.right - 87) y=(@s3.y + 57) w=29 h=16 fill=deep rotation=-30
    ellipse veg.3.b x=(@s3.right - 59) y=(@s3.y + 39) w=29 h=16 fill=deep rotation=-30
    ellipse veg.3.c x=(@s3.right - 40) y=(@s3.y + 10) w=29 h=16 fill=deep rotation=-50
    ellipse veg.3.d x=(@s3.right - 72) y=(@s3.y + 26) w=26 h=14 fill=deep rotation=-60
    ellipse veg.3.e x=(@s3.right - 33) y=(@s3.y + 39) w=26 h=14 fill=deep rotation=-10
  group veg.4
    vector veg.4.a x=(@s4.right - 108) y=(@s4.y + 0) w=104 h=104 view="0 0 80 80" d="M40 74 L24 8" fill=none stroke=cream strokeWidth=6 cap=round
    vector veg.4.b x=(@s4.right - 108) y=(@s4.y + 0) w=104 h=104 view="0 0 80 80" d="M40 74 L40 4" fill=none stroke=cream strokeWidth=6 cap=round
    vector veg.4.c x=(@s4.right - 108) y=(@s4.y + 0) w=104 h=104 view="0 0 80 80" d="M40 74 L56 8" fill=none stroke=cream strokeWidth=6 cap=round
    vector veg.4.d x=(@s4.right - 108) y=(@s4.y + 0) w=104 h=104 view="0 0 80 80" d="M40 74 L10 22" fill=none stroke=deep strokeWidth=6 cap=round
    vector veg.4.e x=(@s4.right - 108) y=(@s4.y + 0) w=104 h=104 view="0 0 80 80" d="M40 74 L70 22" fill=none stroke=deep strokeWidth=6 cap=round

motion recipe w=1080 h=1920 length=13500
  recipe.farm enter=fade duration=600
  recipe.sub enter=fade together
  recipe.time enter=pop together delay=200
  recipe.time.label enter=pop with=recipe.time
  recipe.pot enter=rise delay=200
  recipe.pot.note enter=fade with=recipe.pot
  recipe.handle.l enter=fade with=recipe.pot
  recipe.handle.r enter=fade with=recipe.pot
  recipe.lid enter=rise duration=600
  recipe.rim enter=fade with=recipe.lid
  recipe.knob enter=drop duration=500 after=recipe.lid
  recipe.title enter=rise by=word stagger=120
  s1 enter=rise delay=500 duration=600
  veg.1 enter=pop with=s1 delay=300
  s2 enter=rise delay=1700 duration=600
  veg.2 enter=pop with=s2 delay=300
  s3 enter=rise delay=1700 duration=600
  veg.3 enter=pop with=s3 delay=300
  s4 enter=rise delay=1700 duration=600
  veg.4 enter=pop with=s4 delay=300
  recipe.knob emphasis=pulse delay=600
  recipe.time emphasis=pulse together
```
