# Torn Calendar: Stat & chart element for AI agents

> Count down. A tear-off calendar block drops in; pages are torn off one per number from `from` down to `to` (the last number in the lead paint), then a label is typed beside or under it.

Canonical page: https://agentframes.ai/elements/pasteup/torn-calendar/
Markdown: https://agentframes.ai/elements/pasteup/torn-calendar.md

## Overview

- Name: Torn Calendar (`tornCalendar`), an element: one HyperFrames block per size
- Part of: the [Paste-Up](https://agentframes.ai/packs/pasteup.md) pack (50 of 50). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Count down. A tear-off calendar block drops in; pages are torn off one per number from `from` down to `to` (the last number in the lead paint), then a label is typed beside or under it.
- Pack: [Paste-Up](https://agentframes.ai/packs/pasteup.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 Newsprint (cream page, hot pink lead) (`newsprint`), Night (black page, electric yellow lead) (`night`), Blush (pink page, cobalt lead) (`blush`); avoid none
- Typical duration: 6.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/pasteup/torn-calendar.mp4
- Poster: https://agentframes.ai/media/pasteup/torn-calendar.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Paste-Up pack. Add a `tornCalendar` beat to plan.json on a `newsprint` canvas with slots `from`, `to`, `unit` and `label` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `from` | number | from | {"type":"integer","minimum":1,"maximum":99} | 5 |
| `to` | number | to | {"type":"integer","minimum":0,"maximum":98} | 1 |
| `unit` | string | unit | {"type":"string","minLength":0,"maxLength":14} | Days to go |
| `label` | string | label | {"type":"string","minLength":1,"maxLength":70} | Five short sessions and it is out the door. |

## What your agent can change

**Torn Calendar**. Native 1920×1080, 6.5s at 30fps.

Count down. A tear-off calendar block drops in; pages are torn off one per number from `from` down to `to` (the last number in the lead paint), then a label is typed beside or under it.

**Motion.** The header and block drop in; each page tears off and falls away with a turn (ease-in), 0.32-0.6 s apart; the note deals in and types on.
**Why it moves.** time: tearing off pages is how a deadline feels.

### Mount

Copy every manifest file into your project (plus `af-pasteup-runtime`). Mount with a unique host id, `data-composition-id="af-pasteup-torn-calendar-16x9"`,
`data-composition-src="compositions/af-pasteup-torn-calendar-16x9.html"`, `data-duration="6.5"` 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).

- `from` (required): {"type":"integer","minimum":1,"maximum":99}
- `to`: {"type":"integer","minimum":0,"maximum":98}
- `unit`: {"type":"string","minLength":0,"maxLength":14}
- `label`: {"type":"string","minLength":1,"maxLength":70}

- Up to about 6 pages fit in the build time; the block stops if the count is too long.

Style: `colourway` (newsprint, night, blush), `accent` (optional hex for the lead paint), `footer`, `exit` (shuffle or cut).

### Timing

6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the paint at the page edges drifts
at a slow residual rate; text stays still) and every scrap is shuffled off the page in its own direction over the last 0.6 s, leaving the bare page.

### Example

```json
{
  "from": 5,
  "to": 1,
  "unit": "Days to go",
  "label": "Five short sessions and it is out the door."
}
```

## FAQ

### What can my AI agent change in Torn Calendar?

Your agent fills the `from`, `to`, `unit` and `label` 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 Paste-Up look.

### Which aspect ratios does Torn Calendar support?

Torn Calendar is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

### How do I get Torn Calendar?

Torn Calendar is included in the Paste-Up 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 Paste-Up

- [Bar Chart: Torn Paper Bars](https://agentframes.ai/elements/pasteup/bar-chart.md): Two to six values as torn paper bars on a marker baseline. Bars grow from zero to scale, values count up in heavy caps above them, the highlighted bar is the lead paint and gets a marker loop round its value.
- [Big Statistic: Ransom Note](https://agentframes.ai/elements/pasteup/big-statistic.md): One number that matters. Each character of the value is cut from a different paper (white, paints, cream, black) and placed one after another like a ransom note; the label is typed underneath and an optional source line rises.
- [Donut: Pasted Segments](https://agentframes.ai/elements/pasteup/donut-chart.md): Two to five parts of a whole. Paper segments are pasted round a ring one by one, each exactly its share of the total; a white disc with the headline value is pressed into the middle; legend strips name each part with its percentage.
- [Progress: Tape and Paint](https://agentframes.ai/elements/pasteup/progress-target.md): Progress towards a goal. A strip of masking tape is laid across the page and dry-brush paint fills it to the value while the big typed percentage counts up on the same curve and rides the paint; an optional marker arrow marks the goal.

## Community

Coming soon.
