Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Capacity Fold

Compare two capacity readings, then switch the full band to an explicitly non-quantitative compact index while keeping values and spare room visible.

示例 · 2

在线运行

免费

在 SandBase sandbox 中运行 Capacity Fold 的示例,并在这里查看结果。

工作原理

  1. 01

    Write two readings

    Capacity Fold takes a JSON brief with two structured capacity readings: the first full, the second with spare room. compose.mjs builds the project with one of four themes, estuary, kiln, dusk or ledger, which all keep the same geometry. Overlong labels are rejected rather than shrunk.

  2. 02

    Compare, then fold

    Both readings sit on one ruler with the same length per unit across both lanes. After the comparison, the full band switches to an explicitly non-quantitative compact index. Folding changes only its display footprint, not its number or capacity, and values and spare room stay visible throughout.

  3. 03

    Render and check

    Render with the pinned HyperFrames in strict mode at 1920 by 1080 and 30 fps. Inspect entry, saturation, folding, the camera retreat and the final hold, and verify the displayed readings and visible spare room. Chinese uses the bundled Noto Sans SC. The film is silent.

常见问题

What does Capacity Fold show?

Capacity Fold compares two capacity readings, one full and one with spare room, then folds the full one into a compact index so the comparison stays readable while values remain visible. It suits short explainers such as rainwater reserves or shared tool cabinets.

Does folding change the numbers in Capacity Fold?

No. Capacity Fold's fold changes only how much screen the first reading takes up; its value and capacity are unchanged, and the compact index is labelled as non-quantitative. Both readings use one length per unit on the shared ruler before the fold.

Does Capacity Fold need a paid service?

No. Capacity Fold creates editable graphics with HTML, GSAP and HyperFrames on your machine, with no model or paid call. It does not generate arbitrary scenes; the two readings in your brief are the whole input. Fonts and GSAP are local and licensed in the package assets.

What happens if a Capacity Fold label is too long?

Capacity Fold's generator rejects inputs beyond its documented limits instead of shrinking the text. Shorten the label and run it again, then inspect the encoded frames at the size people will watch them. The limits exist so that both readings stay legible on the shared ruler at the size viewers watch.

Which themes does Capacity Fold offer?

Capacity Fold offers estuary, kiln, dusk and ledger themes. All keep the same geometry, so changing the theme changes colour only, and comparisons stay valid across palette versions of the same brief. Chinese text uses the bundled Noto Sans SC in every theme, so bilingual versions match exactly.