相关疑难解决方法(0)

将动画 SVG 转换为电影

我有一个动画 SVG,想把它变成一部电影(一系列图片也可以)。动画在 webkit 浏览器(Safari、Chrome)和 Batik 的波浪线中播放。我尝试用屏幕捕捉器捕捉它。但这部电影最终很生涩。

有什么好的工具吗?

这是一个示例动画:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%">
    <rect id="BB" x="0" y="0" height="100%" width="100%" fill="white"/>
    <g id="firstone" stroke="black">
        <g id="g3" fill="none" stroke-width="2">
            <animateTransform attributeName="transform" type="rotate" dur="5s" from="360 100 100" to="0 100 100" repeatCount="indefinite"/>
            <g id="g2">
                <ellipse id="g1" cx="100" cy="100" rx="75" ry="75">
                </ellipse>
                <g id="sec">
                    <line x1="100" y1="100" x2="45" y2="45" style="stroke: rgb(99, 99, 99); stroke-width: 6;"/>
                </g>
            </g>
        </g>
        <g id="pit">
            <line x1="100" y1="175" x2="100" y2="200" style="stroke: red; stroke-width: 6;"/>
        </g>
    </g>
</svg>
Run Code Online (Sandbox Code Playgroud)

animation svg

25
推荐指数
1
解决办法
2万
查看次数

标签 统计

animation ×1

svg ×1