# Gummy Stretch: Growth: Stat & chart element for AI agents

> Growth from one value to another. A pink gummy bar sits at the old value inside a dashed outline, then stretches to the new value, thinning as it pulls and plumping back; the number rides its end and counts; a multiplier tag (×2.6) slaps on.

Canonical page: https://agentframes.ai/elements/gumdrop/gummy-stretch/
Markdown: https://agentframes.ai/elements/gumdrop/gummy-stretch.md

## Overview

- Name: Gummy Stretch: Growth (`gummyStretch`), an element: one HyperFrames block per size
- Part of: the [Gumdrop](https://agentframes.ai/packs/gumdrop.md) pack (43 of 50). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Growth from one value to another. A pink gummy bar sits at the old value inside a dashed outline, then stretches to the new value, thinning as it pulls and plumping back; the number rides its end and counts; a multiplier tag (×2.6) slaps on.
- Pack: [Gumdrop](https://agentframes.ai/packs/gumdrop.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Night (candy on near-black) (`night`), Cream (candy on warm paper) (`cream`), Grape (candy on deep violet) (`grape`); avoid none
- Typical duration: 6s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/gumdrop/gummy-stretch.mp4
- Poster: https://agentframes.ai/media/gumdrop/gummy-stretch.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Gumdrop pack. Add a `gummyStretch` beat to plan.json on a `night` canvas with slots `title`, `from`, `to`, `badge`, `unit`, `prefix` and `decimals` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":40} | Recall after a month |
| `from` | string | from | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]} | {"label":"Re-reading","value":20} |
| `to` | string | to | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]} | {"label":"Spaced testing","value":52} |
| `badge` | string | badge | {"type":"string","minLength":1,"maxLength":12} |  |
| `unit` | string | unit | {"type":"string","minLength":1,"maxLength":6} | % |
| `prefix` | string | prefix | {"type":"string","minLength":1,"maxLength":3} |  |
| `decimals` | number | decimals | {"type":"integer","minimum":0,"maximum":2} | 0 |

## What your agent can change

**Gummy Stretch: Growth**. Native 1920×1080, 6s at 30fps.

Growth from one value to another. A pink gummy bar sits at the old value inside a dashed outline, then stretches to the new value, thinning as it pulls and plumping back; the number rides its end and counts; a multiplier tag (×2.6) slaps on.

**Motion.** The outline and bar pop; the length grows on an ease in-out curve and never passes the value; the thickness dips while it stretches and recovers; the number counts on the same curve; the tag slaps on.
**Why it moves.** change: the old size stays as a ghost, so the viewer sees how far it grew, not just the new number.

### Mount

Copy every manifest file into your project (plus `af-gumdrop-runtime`). Mount with a unique host id, `data-composition-id="af-gumdrop-gummy-stretch-16x9"`,
`data-composition-src="compositions/af-gumdrop-gummy-stretch-16x9.html"`, `data-duration="6"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `title` (required): {"type":"string","minLength":1,"maxLength":40}
- `from` (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}
- `to` (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}
- `badge`: {"type":"string","minLength":1,"maxLength":12}
- `unit`: {"type":"string","minLength":1,"maxLength":6}
- `prefix`: {"type":"string","minLength":1,"maxLength":3}
- `decimals`: {"type":"integer","minimum":0,"maximum":2}

- `to.value` must be at least `from.value`. Without `badge` the tag shows the multiplier (to ÷ from).

Style: `colourway` (night, cream, grape), `accent` (optional hex), `footer`, `exit` (pop or cut).

### Timing

6s. Everything has landed by 3.6s (60%), then the scene holds for reading (the small candy shapes in the margins bob at a residual drift,
text stays still) and every piece pops away over the last 0.5 s, leaving the empty ground.

### Example

```json
{
  "title": "Recall after a month",
  "from": "{\"label\":\"Re-reading\",\"value\":20}",
  "to": "{\"label\":\"Spaced testing\",\"value\":52}",
  "unit": "%",
  "decimals": 0
}
```

## FAQ

### What can my AI agent change in Gummy Stretch: Growth?

Your agent fills the `title`, `from`, `to`, `badge`, `unit`, `prefix` and `decimals` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Gumdrop look.

### Which aspect ratios does Gummy Stretch: Growth support?

Gummy Stretch: Growth is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

### How do I get Gummy Stretch: Growth?

Gummy Stretch: Growth is included in the Gumdrop pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Gumdrop

- [Bar Chart: Candy Bars + Pal on Top](https://agentframes.ai/elements/gumdrop/bar-chart.md): Two to six values as rounded candy bars from a shared zero baseline. Values count up with the bar heights and ride their tops; the highlighted bar takes the accent and a heart pal drops onto it; an optional note marks illustrative data.
- [Big Stat: Counting Sunburst](https://agentframes.ai/elements/gumdrop/big-stat.md): One number that matters. A big yellow sunburst springs open and turns slowly; the number counts up inside it and lands with a squash and a burst; the label rises under it and a little pal leans in to look.
- [Donut: Candy Ring](https://agentframes.ai/elements/gumdrop/donut-chart.md): Parts of a whole. Candy segments sweep round the ring in order while their values count up in the legend; when the ring closes a pal pops out of the hole (or the centre value appears there and the pal perches on the rim).
- [Line Chart: Pal Rides the Line](https://agentframes.ai/elements/gumdrop/line-chart.md): A trend over time. The line draws left to right through three to eight points while a heart pal rides its tip; each point pops as the line reaches it; the last value lands above the pal, which turns to look at you.

## Community

Coming soon.
