以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 SVG/GML/VRML/X3D/XAML 』  (http://bbs.xml.org.cn/list.asp?boardid=21)
----  有谁用svg作过人走路的场景吗?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=24998)


--  作者:wujiabao
--  发布时间:12/5/2005 10:47:00 AM

--  有谁用svg作过人走路的场景吗?
有谁用svg作过人走路的场景吗?
可以参考一下吗?
--  作者:konanzl
--  发布时间:5/7/2007 4:11:00 PM

--  
不好意思 我在这 把老帖子 翻出来  
因为我也要问这个问题 所以 就不好意思了。。
--  作者:定风波
--  发布时间:4/6/2008 11:21:00 AM

--  
我一想问哈哈
--  作者:定风波
--  发布时间:4/6/2008 11:21:00 AM

--  
我一想问哈哈
--  作者:zoulixing
--  发布时间:4/7/2008 4:25:00 PM

--  
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="500" height="300" xmlns="http://www.w3.org/2000/svg">
   <!-- Box around the image -->
  <rect x="1" y="1" width="498" height="298"
        fill="none" stroke="blue" stroke-width="2" />
  <!-- Visible path -->
  <path d="M0,300 S150,100 200,200 S400,400 500,0"
        fill="none" stroke="red" stroke-width="2"  />
  <!-- Group of elements to animate -->
  <g stroke-width="5" stroke="black">
      <!-- Stick figure pieces -->
    <circle cx="0" cy="-45" r="10" fill="black"/>
    <line x1="-20" y1="-30" x2="0" y2="-25"/>
    <line x1="20" y1="-30" x2="0" y2="-25"/>
    <line x1="-20" y1="0" x2="0" y2="-10"/>
    <line x1="20" y1="0" x2="0" y2="-10"/>
    <line x1="0" y1="-10" x2="0" y2="-45"/>
 
    <!-- Animation controls --> 
    <animateMotion path="M0,300 S150,100 200,200 S400,400 500,0" dur="8s" repeatCount="indefinite" rotate="auto" />
  </g>
</svg>
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
60.547ms