# Balance Scale: The Beam Tips: Stat & chart element for AI agents

> Compares two amounts by weight. Chip stacks grow on two pans of a balance while their values count, then the beam tips toward the heavier side with a damped swing.

Canonical page: https://agentframes.ai/elements/tabletop/balance-scale/
Markdown: https://agentframes.ai/elements/tabletop/balance-scale.md

## Overview

- Name: Balance Scale: The Beam Tips (`balanceScale`), an element: one HyperFrames block per size
- Part of: the [Tabletop](https://agentframes.ai/packs/tabletop.md) pack (22 of 50). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Compares two amounts by weight. Chip stacks grow on two pans of a balance while their values count, then the beam tips toward the heavier side with a damped swing.
- Pack: [Tabletop](https://agentframes.ai/packs/tabletop.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 Cream table (cream linen, white board) (`cream`), Kitchen table (pale oak, pastel pieces) (`kitchen`), Sky table (pale blue, white board, bright pieces) (`sky`); avoid none
- Typical duration: 6.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/tabletop/balance-scale.mp4
- Poster: https://agentframes.ai/media/tabletop/balance-scale.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Tabletop pack. Add a `balanceScale` beat to plan.json on a `cream` canvas with slots `label`, `title`, `left`, `right`, `prefix`, `unit` and `decimals` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":20} | Round 4 |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":40} | After 20 years |
| `left` | string | left | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]} | {"label":"Simple interest","value":2400} |
| `right` | string | right | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]} | {"label":"Compound","value":3870} |
| `prefix` | string | prefix | {"type":"string","minLength":1,"maxLength":3} | £ |
| `unit` | string | unit | {"type":"string","minLength":1,"maxLength":6} |  |
| `decimals` | number | decimals | {"type":"integer","minimum":0,"maximum":2} | 0 |

## What your agent can change

**Balance Scale: The Beam Tips**. Native 1920×1080, 6.5s at 30fps.

Compares two amounts by weight. Chip stacks grow on two pans of a balance while their values count, then the beam tips toward the heavier side with a damped swing.

**Motion.** Stacks grow on the same ease-out curve as their numbers (never past the value); the beam swings to its angle with a small overshoot and settles before the hold.
**Why it moves.** change: the tip is the verdict, felt as weight before it is read.

### Mount

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

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

- The tilt is proportional to the difference (up to 9°); equal values stay level.

Style: `colourway` (cream, kitchen, sky), `accent` (optional hex), `footer`, `round` (e.g. 3/5), `exit` (lift or cut).

### Timing

6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the lamp light drifts slowly over the table;
text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.

### Example

```json
{
  "label": "Round 4",
  "title": "After 20 years",
  "left": "{\"label\":\"Simple interest\",\"value\":2400}",
  "right": "{\"label\":\"Compound\",\"value\":3870}",
  "prefix": "£",
  "unit": "",
  "decimals": 0
}
```

## FAQ

### What can my AI agent change in Balance Scale: The Beam Tips?

Your agent fills the `label`, `title`, `left`, `right`, `prefix`, `unit` 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 Tabletop look.

### Which aspect ratios does Balance Scale: The Beam Tips support?

Balance Scale: The Beam Tips is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

### How do I get Balance Scale: The Beam Tips?

Balance Scale: The Beam Tips is included in the Tabletop 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 Tabletop

- [Bar Chart: Chip Stacks](https://agentframes.ai/elements/tabletop/bar-chart.md): Two to six values as poker-chip stacks on one tray (a shared zero baseline). Each stack grows to its exact height while its number counts and rides its top; the highlighted stack is in the accent and the pawn drops onto it; an optional note marks illustrative data.
- [Funnel: Chips Poured Down](https://agentframes.ai/elements/tabletop/funnel-cup.md): How a number narrows stage by stage. Stage tiles narrow down the table; chips pour in, stage by stage, and each stage keeps a smaller stack with its value counting beside it.
- [Podium: 1-2-3](https://agentframes.ai/elements/tabletop/podium.md): A top three. A 1-2-3 podium is set down; three pawns drop beside it and hop up, third place first and the winner last, with a chip spray; each place's label rises under it.
- [Big Number: Flip Tiles](https://agentframes.ai/elements/tabletop/big-number.md): One number that matters. A row of number tiles is set down and each digit flips through numbers like a scoreboard, landing on the figure from left to right; the label rises under it.

## Community

Coming soon.
