Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Ratio Span

Grow two values on one shared scale,then reveal their larger-to-smaller ratio.

예시 · 2

온라인에서 실행

무료

SandBase sandbox에서 Ratio Span의 예제를 실행하고 결과를 바로 여기에서 확인하세요.

작동 방식

  1. 01

    Write the two measurements

    Ratio Span takes a JSON brief with two labelled positive amounts of the same kind, a measurement unit, context, the decimal places for the ratio, a comparison caption and a palette of tide, mulberry, clay or graphite. Keep claims factual or mark them illustrative; the renderer does not research quantities.

  2. 02

    Grow on one scale

    Both values grow on one shared, linear horizontal scale, and each count stays next to its moving endpoint. Because the scale is shared, the bar lengths are directly comparable.

  3. 03

    Reveal the ratio and render

    After both settle, a bracket draws and the larger measurement divided by the smaller appears with the chosen decimal places. render.mjs runs HyperFrames lint and a strict render with one worker. Review all beats and the final reading hold. The demos compare parts of the water cycle and archive capacities.

FAQ

What does Ratio Span show?

Ratio Span grows two values of the same kind on one shared scale, then reveals how many times larger one is than the other. It suits short explainers such as comparing two parts of the water cycle or two archives' capacities.

How is Ratio Span different from Paired Metrics?

Ratio Span compares two values in the same unit on one shared scale and states their ratio. Paired Metrics compares two alternatives across two different measures, each on its own scale. Use Ratio Span when the question is how many times bigger.

Is the Ratio Span ratio calculated?

Yes. Ratio Span divides the larger amount by the smaller one and shows the result with the decimal places you set, so the ratio always matches the bars. The two amounts themselves come from your brief.

Does Ratio Span need a paid service?

No. Ratio Span renders locally with Node.js 22 and HyperFrames, with fonts and the browser GSAP build bundled. The first install needs npm access, and no model is called.

Is Ratio Span silent?

Yes. Ratio Span renders silent films. Its bracket and ratio reveal are a single clear moment, which suits an added sound cue if the explainer needs one.