     # I can render all the text unconditionally
     # since it looks the same regardless of the number
     # of speakers. (i.e. left -> right, top -> bottom)
+    first = true
     top = 0
-    left = 0
-    first = true
-    topPad = 3
+    left = AYP_BUBBLE_PADDING_HORIZONTAL
+    topPad = AYP_BUBBLE_PADDING_VERTICAL
     for line in lines
       [who, what] = line
       bubble = textBubble what
 
       if not first
-        left = frame.width - bubble.width
+        left = frame.width - bubble.width - AYP_BUBBLE_PADDING_HORIZONTAL
 
       compositeImage frame, bubble, left, top
 


# The ammount of padding on each side of a panel
AYP_PANEL_PADDING = 6


## Paths to find media


  return chunks.map (c) -> c.trim()

formatForTextBubble = (msg, font, size, max) ->
  msg = msg.trim()
  [w, h] = textSize(msg, font, size)
  if w > max
