示例 / population
The eight billion
1:20数据由智能体用 VisoTalk Agent SKILL 制作
影片的 1080p 视频,带旁白。“实时”则在你的浏览器里直接从文档播放。
旁白
点击一句话即可跳到那里。
它展示了什么。 数据驱动画面:曲线和各行是对一张里程碑表格的循环,每一项都在说出它的词上出现。
源码文档的第一个场景
视频就是这份文档。旁白是每个 Line 的文字,每个动画都从其中的某个词开始,就在这个词被说出的时候。
<Scene id="intro">
<Line id="p1" hold={2.5}>How fast is the world's population really growing? Count it in billions.</Line>
<Part id="t0" x={100} y={40} w={1720} h={90}><Title>The eight billion</Title></Part>
<Part id="gauge" x={100} y={150} w={720} h={720}><Gauge/></Part>
<Part id="amount" x={900} y={290} w={940} h={400}><Amount/></Part>
<Animation>
<Appear target="gauge" at="start"/>
<Appear target="amount" line="p1" word="billions" dur={0}/>
<Appear target="t0" line="p1" word="population"/>
<Tween target="ring" to={{draw: 1}} line="p1" word="Count" dur={1.2}/>
<Appear target={["bead1", "bead2", "bead3", "bead4", "bead5", "bead6", "bead7", "bead8"]} line="p1" word="Count" stagger={0.15}/>
<Appear target="watch" line="p1" word="Count" offset={0.5}/>
<Appear target="big" line="p1" word="billions"/>
<Appear target="bigsub" line="p1" word="billions" offset={0.5}/>
</Animation>
</Scene>在 GitHub 上查看 examples/population/doc.tsx改编做成你自己的
整个示例打包成一个文件:文档、它用到的图片和片段,以及已经朗读好的旁白。在 VisoTalk Studio 中导入它(首页上的导入 .visotalk)即可在那里修改,或者用 npx visotalk import population.visotalk 为 Agent SKILL 解包。