Open the studio

Year in review

A customer's year in twelve bars, a favourite and a reward, which they can ask about

Retention · 20 s · 3.4 kB

year in review: A customer's year in twelve bars, a favourite and a reward, which they can ask about

Download MP4 GIF PNG

<script type="module" src="https://makini.st/player.js"></script>
<makinist-player scene="https://makini.st/scenes/year-in-review.json" data='{
  "name": "Zeynep",
  "brand": "Kestrel",
  "year": "2026",
  "accent": "#2dd4bf",
  "accent2": "#6366f1",
  "big_number": 38,
  "big_label": "flights",
  "big_context": "9 cities and 61,400 km: one and a half times around the world.",
  "bars_title": "your year, month by month",
  "bars_note": "July was your busiest month: six flights.",
  "top_label": "YOUR FAVOURITE",
  "top": "Lisbon",
  "top_detail": "6 visits, most of them in summer",
  "badge_over": "you flew more than",
  "badge": "97% of our travellers",
  "reward_cta": "Your 2027 upgrade is waiting",
  "reward_hint": "tap anywhere, or press space",
  "code": "KST-7Q2-26",
  "m1": 2,
  "m2": 1,
  "m3": 3,
  "m4": 2,
  "m5": 4,
  "m6": 5,
  "m7": 6,
  "m8": 5,
  "m9": 3,
  "m10": 3,
  "m11": 2,
  "m12": 2,
  "summary": "Kestrel year in review for Zeynep, 2026. Flights per month: January 2, February 1, March 3, April 2, May 4, June 5, July 6, August 5, September 3, October 3, November 2, December 2. Total: 38 flights. 9 cities and 61,400 km: one and a half times around the world. Favourite: Lisbon, 6 visits, most of them in summer. you flew more than 97% of Kestrel travellers.",
  "picks": "Porto, Lisbon&#39;s quieter neighbour up the coast; Valencia, long summer evenings by the sea; Kraków, an old town made for walking",
  "hero": "7486b74e4fb77521fe7b179bb0725677ceedc053e400ac317b5b2a85651af799",
  "top_photo": "df7e5ab908529f65f014d4b8cf64e7f7060bcfc12ed46c3131bbd210bece8cdf",
  "logo": "5da677f969d93390494f7ba5df2c0e112ab433ac3e22d903780f3fb93243e839"
}'></makinist-player>

The tag plays this customer's version in any page: the browser draws it from the scene and their row, and no video file is sent.

The scene

year-in-review.json

{
  "format": "makinist/4",
  "canvas": {
    "width": 1280,
    "height": 720,
    "fps": 60,
    "duration_frames": 1200
  },
  "background": "#0b0d12",
  "state": {
    "name": "",
    "brand": "",
    "year": "",
    "accent": "#2dd4bf",
    "accent2": "#6366f1",
    "big_number": 0,
    "big_label": "",
    "big_context": "",
    "bars_title": "",
    "bars_note": "",
    "top_label": "",
    "top": "",
    "top_detail": "",
    "badge_over": "",
    "badge": "",
    "reward_cta": "",
    "reward_hint": "",
    "code": "",
    "claimed": 0,
    "summary": "",
    "picks": "",
    "qa": 0,
    "thinking": 0,
    "question": "",
    "reply": "",
    "hero": "7486b74e4fb77521fe7b179bb0725677ceedc053e400ac317b5b2a85651af799",
    "top_photo": "df7e5ab908529f65f014d4b8cf64e7f7060bcfc12ed46c3131bbd210bece8cdf",
    "logo": "5da677f969d93390494f7ba5df2c0e112ab433ac3e22d903780f3fb93243e839",
    "band_y": -100,
    "m1": 0,
    "m2": 0,
    "m3": 0,
    "m4": 0,
    "m5": 0,
    "m6": 0,
    "m7": 0,
    "m8": 0,
    "m9": 0,
    "m10": 0,
    "m11": 0,
    "m12": 0,
    "month": 0,
    "dim": 0,
    "edge_y": -100
  },
  "layers": [
    {
      "id": "end.logo",
      "kind": "image",
      "props": {
        "x": 540,
        "y": 210,
        "w": 200,
        "h": 64
      },
      "image": {
        "sha256": {
          "bind": "logo"
        },
        "fit": "contain"
      }
    },
    {
      "id": "end.cta",
      "kind": "text",
      "props": {
        "x": 140,
        "y": 390,
        "size": 64,
        "fill": "#ffffff",
        "width": 1000
      },
      "text": {
        "template": "{reward_cta}",
        "font": "Instrument Serif",
        "align": "center"
      }
    },
    {
      "id": "end.hint",
      "kind": "text",
      "props": {
        "x": 140,
        "y": 444,
        "size": 24,
        "fill": "#8a93a8",
        "width": 1000
      },
      "text": {
        "template": "{reward_hint}",
        "font": "Inter Regular",
        "align": "center"
      }
    },
    {
      "id": "end.code.bg",
      "kind": "rect",
      "props": {
        "x": 440,
        "y": 490,
        "w": 400,
        "h": 96,
        "fill": "#ffffff12",
        "radius": 20,
        "opacity": {
          "bind": "claimed"
        }
      }
    },
    {
      "id": "end.code",
      "kind": "text",
      "props": {
        "x": 440,
        "y": 554,
        "size": 44,
        "fill": {
          "bind": "accent"
        },
        "width": 400,
        "opacity": {
          "bind": "claimed"
        }
      },
      "text": {
        "template": "{code}",
        "font": "Inter Display Bold",
        "align": "center"
      }
    },
    {
      "id": "end.curtain",
      "kind": "rect",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720,
        "fill": "#0b0d12"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 1080,
            "value": 1
          },
          {
            "frame": 1100,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "open.photo",
      "kind": "image",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720
      },
      "image": {
        "sha256": {
          "bind": "hero"
        },
        "fit": "cover"
      },
      "tracks": {
        "x": [
          {
            "frame": 0,
            "value": 0
          },
          {
            "frame": 210,
            "value": -64.0,
            "ease": "linear"
          }
        ],
        "y": [
          {
            "frame": 0,
            "value": 0
          },
          {
            "frame": 210,
            "value": -36.0,
            "ease": "linear"
          }
        ],
        "w": [
          {
            "frame": 0,
            "value": 1280
          },
          {
            "frame": 210,
            "value": 1408.0,
            "ease": "linear"
          }
        ],
        "h": [
          {
            "frame": 0,
            "value": 720
          },
          {
            "frame": 210,
            "value": 792.0000000000001,
            "ease": "linear"
          }
        ],
        "opacity": [
          {
            "frame": 190,
            "value": 1
          },
          {
            "frame": 210,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "open.shade",
      "kind": "rect",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720,
        "fill": {
          "linear": {
            "from": [
              0,
              0
            ],
            "to": [
              0,
              1
            ],
            "stops": [
              {
                "at": 0,
                "color": "#0b0d12b3"
              },
              {
                "at": 0.22,
                "color": "#0b0d1200"
              },
              {
                "at": 0.45,
                "color": "#0b0d1233"
              },
              {
                "at": 1,
                "color": "#0b0d12f2"
              }
            ]
          }
        }
      },
      "tracks": {
        "opacity": [
          {
            "frame": 190,
            "value": 1
          },
          {
            "frame": 210,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "open.logo",
      "kind": "image",
      "props": {
        "x": 72,
        "y": 56,
        "w": 180,
        "h": 56
      },
      "image": {
        "sha256": {
          "bind": "logo"
        },
        "fit": "contain"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 15,
            "value": 0
          },
          {
            "frame": 35,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 190,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 210,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "open.name",
      "kind": "text",
      "props": {
        "x": 72,
        "y": 540,
        "size": 112,
        "fill": "#ffffff"
      },
      "text": {
        "template": "{name},",
        "font": "Instrument Serif"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 45,
            "value": 0
          },
          {
            "frame": 65,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 190,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 210,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "y": [
          {
            "frame": 45,
            "value": 570
          },
          {
            "frame": 85,
            "value": 540,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "open.line",
      "kind": "text",
      "props": {
        "x": 72,
        "y": 610,
        "size": 52,
        "fill": "#ffffffcc"
      },
      "text": {
        "template": "your {year} with {brand}",
        "font": "Instrument Serif"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 70,
            "value": 0
          },
          {
            "frame": 90,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 190,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 210,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "y": [
          {
            "frame": 70,
            "value": 636
          },
          {
            "frame": 110,
            "value": 610,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "big.number",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 420,
        "size": 220,
        "fill": {
          "bind": "accent"
        }
      },
      "text": {
        "template": "{big_number:,0}",
        "font": "Inter Display Bold"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 220,
            "value": 0
          },
          {
            "frame": 240,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 425,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 445,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "size": [
          {
            "frame": 220,
            "value": 120
          },
          {
            "frame": 280,
            "value": 220,
            "ease": "power2.out"
          }
        ],
        "x": [
          {
            "frame": 220,
            "value": 140
          },
          {
            "frame": 280,
            "value": 80,
            "ease": "power2.out"
          }
        ],
        "count": [
          {
            "frame": 220,
            "value": 0
          },
          {
            "frame": 280,
            "value": 1,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "big.label",
      "kind": "text",
      "props": {
        "x": 84,
        "y": 500,
        "size": 64,
        "fill": "#ffffff"
      },
      "text": {
        "template": "{big_label}",
        "font": "Instrument Serif"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 260,
            "value": 0
          },
          {
            "frame": 280,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 425,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 445,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "y": [
          {
            "frame": 260,
            "value": 524
          },
          {
            "frame": 300,
            "value": 500,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "big.context",
      "kind": "text",
      "props": {
        "x": 86,
        "y": 556,
        "size": 26,
        "fill": "#a3acbd",
        "width": 900
      },
      "text": {
        "template": "{big_context}",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 290,
            "value": 0
          },
          {
            "frame": 310,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 425,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 445,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.title",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 112,
        "size": 48,
        "fill": "#ffffff"
      },
      "text": {
        "template": "{bars_title}",
        "font": "Instrument Serif"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 450,
            "value": 0
          },
          {
            "frame": 470,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.1",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 189,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Jan",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.months",
      "kind": "chart",
      "props": {
        "x": 140,
        "y": 168,
        "w": 760,
        "h": 468,
        "gap": 12,
        "radius": 8,
        "fill": {
          "linear": {
            "from": [
              0,
              0
            ],
            "to": [
              1,
              0
            ],
            "stops": [
              {
                "at": 0,
                "color": {
                  "bind": "accent"
                }
              },
              {
                "at": 1,
                "color": {
                  "bind": "accent2"
                }
              }
            ]
          }
        }
      },
      "chart": {
        "type": "bar",
        "direction": "right",
        "values": [
          {
            "bind": "m1"
          },
          {
            "bind": "m2"
          },
          {
            "bind": "m3"
          },
          {
            "bind": "m4"
          },
          {
            "bind": "m5"
          },
          {
            "bind": "m6"
          },
          {
            "bind": "m7"
          },
          {
            "bind": "m8"
          },
          {
            "bind": "m9"
          },
          {
            "bind": "m10"
          },
          {
            "bind": "m11"
          },
          {
            "bind": "m12"
          }
        ]
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "grow": [
          {
            "frame": 480,
            "value": 0
          },
          {
            "frame": 570,
            "value": 1,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.2",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 229,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Feb",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.3",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 269,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Mar",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.4",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 309,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Apr",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.5",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 349,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "May",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.6",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 389,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Jun",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.7",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 429,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Jul",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.8",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 469,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Aug",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.9",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 509,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Sep",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.10",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 549,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Oct",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.11",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 589,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Nov",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.label.12",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 629,
        "size": 19,
        "fill": "#a3acbd"
      },
      "text": {
        "template": "Dec",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 455,
            "value": 0
          },
          {
            "frame": 475,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "bars.note",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 380,
        "size": 26,
        "fill": "#ffffff",
        "width": 260,
        "line_height": 1.35
      },
      "text": {
        "template": "{bars_note}",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 580,
            "value": 0
          },
          {
            "frame": 600,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 760,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 780,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "top.photo",
      "kind": "image",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720
      },
      "image": {
        "sha256": {
          "bind": "top_photo"
        },
        "fit": "cover"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 780,
            "value": 0
          },
          {
            "frame": 800,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 940,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 960,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "x": [
          {
            "frame": 780,
            "value": 0
          },
          {
            "frame": 960,
            "value": -76.8,
            "ease": "linear"
          }
        ],
        "w": [
          {
            "frame": 780,
            "value": 1280
          },
          {
            "frame": 960,
            "value": 1356.8000000000002,
            "ease": "linear"
          }
        ],
        "h": [
          {
            "frame": 780,
            "value": 720
          },
          {
            "frame": 960,
            "value": 763.2,
            "ease": "linear"
          }
        ],
        "y": [
          {
            "frame": 780,
            "value": 0
          },
          {
            "frame": 960,
            "value": -21.599999999999998,
            "ease": "linear"
          }
        ]
      }
    },
    {
      "id": "top.shade",
      "kind": "rect",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720,
        "fill": {
          "linear": {
            "from": [
              0,
              0
            ],
            "to": [
              0,
              1
            ],
            "stops": [
              {
                "at": 0,
                "color": "#0b0d12b3"
              },
              {
                "at": 0.22,
                "color": "#0b0d1200"
              },
              {
                "at": 0.45,
                "color": "#0b0d1233"
              },
              {
                "at": 1,
                "color": "#0b0d12f2"
              }
            ]
          }
        }
      },
      "tracks": {
        "opacity": [
          {
            "frame": 780,
            "value": 0
          },
          {
            "frame": 800,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 940,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 960,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "top.label",
      "kind": "text",
      "props": {
        "x": 72,
        "y": 520,
        "size": 26,
        "fill": {
          "bind": "accent"
        }
      },
      "text": {
        "template": "{top_label}",
        "font": "Inter SemiBold"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 805,
            "value": 0
          },
          {
            "frame": 825,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 940,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 960,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "top.name",
      "kind": "text",
      "props": {
        "x": 72,
        "y": 620,
        "size": 112,
        "fill": "#ffffff"
      },
      "text": {
        "template": "{top}",
        "font": "Instrument Serif"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 815,
            "value": 0
          },
          {
            "frame": 835,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 940,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 960,
            "value": 0,
            "ease": "power2.out"
          }
        ],
        "y": [
          {
            "frame": 815,
            "value": 646
          },
          {
            "frame": 855,
            "value": 620,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "top.detail",
      "kind": "text",
      "props": {
        "x": 76,
        "y": 668,
        "size": 28,
        "fill": "#ffffffcc"
      },
      "text": {
        "template": "{top_detail}",
        "font": "Inter Regular"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 840,
            "value": 0
          },
          {
            "frame": 860,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 940,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 960,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "badge.pill",
      "kind": "rect",
      "props": {
        "x": 640,
        "y": 290,
        "w": 0,
        "h": 140,
        "fill": {
          "linear": {
            "from": [
              0,
              0
            ],
            "to": [
              1,
              0
            ],
            "stops": [
              {
                "at": 0,
                "color": {
                  "bind": "accent"
                }
              },
              {
                "at": 1,
                "color": {
                  "bind": "accent2"
                }
              }
            ]
          }
        },
        "radius": 70
      },
      "tracks": {
        "x": [
          {
            "frame": 960,
            "value": 640
          },
          {
            "frame": 1000,
            "value": 240,
            "ease": "power2.out"
          }
        ],
        "w": [
          {
            "frame": 960,
            "value": 0
          },
          {
            "frame": 1000,
            "value": 800,
            "ease": "power2.out"
          }
        ],
        "opacity": [
          {
            "frame": 960,
            "value": 1
          },
          {
            "frame": 1060,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 1080,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "badge.text",
      "kind": "text",
      "props": {
        "x": 260,
        "y": 376,
        "size": 46,
        "fill": "#ffffff",
        "width": 760
      },
      "text": {
        "template": "{badge}",
        "font": "Inter Display Bold",
        "align": "center"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 990,
            "value": 0
          },
          {
            "frame": 1010,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 1060,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 1080,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "badge.over",
      "kind": "text",
      "props": {
        "x": 190,
        "y": 250,
        "size": 26,
        "fill": "#a3acbd",
        "width": 900
      },
      "text": {
        "template": "{badge_over}",
        "font": "Inter Regular",
        "align": "center"
      },
      "tracks": {
        "opacity": [
          {
            "frame": 970,
            "value": 0
          },
          {
            "frame": 990,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 1060,
            "value": 1,
            "ease": "power2.out"
          },
          {
            "frame": 1080,
            "value": 0,
            "ease": "power2.out"
          }
        ]
      }
    },
    {
      "id": "ask.panel",
      "kind": "rect",
      "props": {
        "x": 0,
        "y": 0,
        "w": 1280,
        "h": 720,
        "fill": "#0b0d12",
        "opacity": {
          "bind": "qa"
        }
      }
    },
    {
      "id": "ask.title",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 112,
        "size": 48,
        "fill": "#ffffff",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "{bars_title}",
        "font": "Instrument Serif"
      }
    },
    {
      "id": "ask.band.edge",
      "kind": "rect",
      "props": {
        "x": 60,
        "y": {
          "bind": "edge_y"
        },
        "w": 880,
        "h": 36,
        "fill": {
          "bind": "accent"
        },
        "radius": 10,
        "opacity": {
          "bind": "qa"
        }
      }
    },
    {
      "id": "ask.band.inside",
      "kind": "rect",
      "props": {
        "x": 62,
        "y": {
          "bind": "band_y"
        },
        "w": 876,
        "h": 32,
        "fill": "#0b0d12",
        "radius": 8,
        "opacity": {
          "bind": "qa"
        }
      }
    },
    {
      "id": "ask.band",
      "kind": "rect",
      "props": {
        "x": 62,
        "y": {
          "bind": "band_y"
        },
        "w": 876,
        "h": 32,
        "fill": "#ffffff38",
        "radius": 8,
        "opacity": {
          "bind": "qa"
        }
      }
    },
    {
      "id": "ask.label.1",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 189,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Jan",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.months",
      "kind": "chart",
      "props": {
        "x": 140,
        "y": 168,
        "w": 760,
        "h": 468,
        "gap": 12,
        "radius": 8,
        "fill": {
          "linear": {
            "from": [
              0,
              0
            ],
            "to": [
              1,
              0
            ],
            "stops": [
              {
                "at": 0,
                "color": {
                  "bind": "accent"
                }
              },
              {
                "at": 1,
                "color": {
                  "bind": "accent2"
                }
              }
            ]
          }
        },
        "opacity": {
          "bind": "qa"
        }
      },
      "chart": {
        "type": "bar",
        "direction": "right",
        "values": [
          {
            "bind": "m1"
          },
          {
            "bind": "m2"
          },
          {
            "bind": "m3"
          },
          {
            "bind": "m4"
          },
          {
            "bind": "m5"
          },
          {
            "bind": "m6"
          },
          {
            "bind": "m7"
          },
          {
            "bind": "m8"
          },
          {
            "bind": "m9"
          },
          {
            "bind": "m10"
          },
          {
            "bind": "m11"
          },
          {
            "bind": "m12"
          }
        ]
      }
    },
    {
      "id": "ask.dim",
      "kind": "chart",
      "props": {
        "x": 140,
        "y": 168,
        "w": 760,
        "h": 468,
        "gap": 12,
        "radius": 8,
        "fill": "#0b0d128c",
        "opacity": {
          "bind": "dim"
        }
      },
      "chart": {
        "type": "bar",
        "direction": "right",
        "values": [
          {
            "bind": "m1"
          },
          {
            "bind": "m2"
          },
          {
            "bind": "m3"
          },
          {
            "bind": "m4"
          },
          {
            "bind": "m5"
          },
          {
            "bind": "m6"
          },
          {
            "bind": "m7"
          },
          {
            "bind": "m8"
          },
          {
            "bind": "m9"
          },
          {
            "bind": "m10"
          },
          {
            "bind": "m11"
          },
          {
            "bind": "m12"
          }
        ],
        "highlight": {
          "index": {
            "bind": "month"
          },
          "fill": "#00000000"
        }
      }
    },
    {
      "id": "ask.label.2",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 229,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Feb",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.3",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 269,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Mar",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.4",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 309,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Apr",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.5",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 349,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "May",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.6",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 389,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Jun",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.7",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 429,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Jul",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.8",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 469,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Aug",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.9",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 509,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Sep",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.10",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 549,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Oct",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.11",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 589,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Nov",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.label.12",
      "kind": "text",
      "props": {
        "x": 80,
        "y": 629,
        "size": 19,
        "fill": "#a3acbd",
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "Dec",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.question",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 200,
        "size": 20,
        "fill": "#8a93a8",
        "width": 280,
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "{question}",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.thinking",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 280,
        "size": 30,
        "fill": "#8a93a8",
        "opacity": {
          "bind": "thinking"
        }
      },
      "text": {
        "template": "thinking…",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.reply",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 280,
        "size": 28,
        "fill": "#ffffff",
        "width": 280,
        "line_height": 1.3,
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "{reply}",
        "font": "Inter Regular"
      }
    },
    {
      "id": "ask.cta",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 594,
        "size": 22,
        "fill": {
          "bind": "accent"
        },
        "width": 280,
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "{reward_cta}",
        "font": "Inter SemiBold"
      }
    },
    {
      "id": "ask.hint",
      "kind": "text",
      "props": {
        "x": 960,
        "y": 652,
        "size": 18,
        "fill": "#8a93a8",
        "width": 280,
        "opacity": {
          "bind": "qa"
        }
      },
      "text": {
        "template": "{reward_hint}",
        "font": "Inter Regular"
      }
    }
  ],
  "on": [
    {
      "event": "key:space",
      "if": {
        "claimed": 0
      },
      "set": {
        "claimed": 1,
        "qa": 0,
        "reward_cta": "Here is your code",
        "reward_hint": "show it at checkout, or use it online",
        "dim": 0
      },
      "action": "claim"
    },
    {
      "event": "ask:sent",
      "set": {
        "qa": 1,
        "thinking": 1,
        "reply": "",
        "dim": 0
      }
    },
    {
      "event": "ask:answered",
      "set": {
        "thinking": 0,
        "band_y": -100,
        "dim": 1,
        "edge_y": -100
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 0
      },
      "set": {
        "dim": 0
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 1
      },
      "set": {
        "band_y": 166,
        "edge_y": 164
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 2
      },
      "set": {
        "band_y": 206,
        "edge_y": 204
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 3
      },
      "set": {
        "band_y": 246,
        "edge_y": 244
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 4
      },
      "set": {
        "band_y": 286,
        "edge_y": 284
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 5
      },
      "set": {
        "band_y": 326,
        "edge_y": 324
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 6
      },
      "set": {
        "band_y": 366,
        "edge_y": 364
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 7
      },
      "set": {
        "band_y": 406,
        "edge_y": 404
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 8
      },
      "set": {
        "band_y": 446,
        "edge_y": 444
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 9
      },
      "set": {
        "band_y": 486,
        "edge_y": 484
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 10
      },
      "set": {
        "band_y": 526,
        "edge_y": 524
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 11
      },
      "set": {
        "band_y": 566,
        "edge_y": 564
      }
    },
    {
      "event": "ask:answered",
      "if": {
        "month": 12
      },
      "set": {
        "band_y": 606,
        "edge_y": 604
      }
    },
    {
      "event": "ask:failed",
      "set": {
        "thinking": 0,
        "reply": "Sorry, I couldn't answer that. Try again?"
      }
    }
  ],
  "ask": {
    "instructions": "You are the host of one customer's year in review, for the brand in `brand`. `summary` holds their year, and `picks` the brand's picks for them. Answer their question in `reply` in one or two short sentences, at most 160 characters, warm and plain, in the language they ask in. Use only facts from `summary` and `picks`: never invent a number, a place or an offer, and never promise anything on the brand's behalf. If the question is about neither their year nor what to try next, say kindly that you can only talk about their year and their picks. Set `month` to the month your answer is about, or none. When they ask what to read, drink, visit or try next, recommend exactly one item from `picks`, by its name, and say in a few words why it fits their year. Never recommend anything that is not in `picks`; if `picks` is empty, say the brand will share picks soon.",
    "writes": [
      "reply",
      "month"
    ],
    "choices": {
      "month": [
        [
          "none",
          0
        ],
        [
          "January",
          1
        ],
        [
          "February",
          2
        ],
        [
          "March",
          3
        ],
        [
          "April",
          4
        ],
        [
          "May",
          5
        ],
        [
          "June",
          6
        ],
        [
          "July",
          7
        ],
        [
          "August",
          8
        ],
        [
          "September",
          9
        ],
        [
          "October",
          10
        ],
        [
          "November",
          11
        ],
        [
          "December",
          12
        ]
      ]
    },
    "question": "question",
    "suggestions": [
      "Which was my biggest month?",
      "What was my favourite?",
      "How do I compare?",
      "What should I try next?"
    ]
  }
}

The data row

row.json

{
  "name": "Zeynep",
  "brand": "Kestrel",
  "year": "2026",
  "accent": "#2dd4bf",
  "accent2": "#6366f1",
  "big_number": 38,
  "big_label": "flights",
  "big_context": "9 cities and 61,400 km: one and a half times around the world.",
  "bars_title": "your year, month by month",
  "bars_note": "July was your busiest month: six flights.",
  "top_label": "YOUR FAVOURITE",
  "top": "Lisbon",
  "top_detail": "6 visits, most of them in summer",
  "badge_over": "you flew more than",
  "badge": "97% of our travellers",
  "reward_cta": "Your 2027 upgrade is waiting",
  "reward_hint": "tap anywhere, or press space",
  "code": "KST-7Q2-26",
  "m1": 2,
  "m2": 1,
  "m3": 3,
  "m4": 2,
  "m5": 4,
  "m6": 5,
  "m7": 6,
  "m8": 5,
  "m9": 3,
  "m10": 3,
  "m11": 2,
  "m12": 2,
  "summary": "Kestrel year in review for Zeynep, 2026. Flights per month: January 2, February 1, March 3, April 2, May 4, June 5, July 6, August 5, September 3, October 3, November 2, December 2. Total: 38 flights. 9 cities and 61,400 km: one and a half times around the world. Favourite: Lisbon, 6 visits, most of them in summer. you flew more than 97% of Kestrel travellers.",
  "picks": "Porto, Lisbon's quieter neighbour up the coast; Valencia, long summer evenings by the sea; Kraków, an old town made for walking",
  "hero": "7486b74e4fb77521fe7b179bb0725677ceedc053e400ac317b5b2a85651af799",
  "top_photo": "df7e5ab908529f65f014d4b8cf64e7f7060bcfc12ed46c3131bbd210bece8cdf",
  "logo": "5da677f969d93390494f7ba5df2c0e112ab433ac3e22d903780f3fb93243e839"
}