Size: 702
Comment:
|
← Revision 3 as of 2009-12-25 07:15:57 ⇥
Size: 750
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
::-- hoxide [[[DateTime(2005-07-29T11:38:45Z)]]] [[TableOfContents]] |
::-- hoxide [<<DateTime(2005-07-29T11:38:45Z)>>] <<TableOfContents>> |
Line 29: | Line 29: |
演示例子: {{attachment:animpoly.gif}} |
含有章节索引的中文 文章模板
::-- hoxide [2005-07-29 11:38:45]
Contents
MetaPost
简述
用MetaPost 3d 创建三维动画
原来的脚本是linux下的, win下不好用, 偶改成用 ImageMagick, 和GhostScrpit.
/bin/rm -f animpoly.log for i in `ls animpoly.*| grep 'animpoly.[0-9]'`;do echo $i echo '==============' awk < $i '{print} /^%%Page: /{print "181 156 translate\n"}' > $i.ps gswin32c -sDEVICE=ppm -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -r36 -q -sOutputFile=$i.ppm $i.ps rm -f $i.ps done rm -f animpoly.gif convert animpoly.*.ppm -adjoin animpoly.gif rm -f animpoly.*.ppm
演示例子: