1 Date: Wed, 28 May 2008 19:06:46 +0200
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FAsciiSVGPlugin;
8 Content-Transfer-Encoding: binary
10 Interface to http://www1.chapman.edu/~jipsen/svg/asciisvg.html
12 Requires ENABLE_XHTML_XML = true
14 Syntax: http://www1.chapman.edu/~jipsen/svg/asciisvgcommands.html
16 If you are using Internet Explorer 6 + Adobe SVGviewer (often included
17 by default with Windows XP) or SVG enabled Mozilla/Firefox (and have
18 Adobe SVGviewer installed as well!) then you should see the examples.
22 <?plugin AsciiSVG width= height= onmousemove="" script=""
29 width, height, script, onmouseover
31 All other arguments are passed to the ASCIISvg javascript library and
33 http://www1.chapman.edu/~jipsen/svg/asciisvg.html
38 <?plugin AsciiSVG width="117" height="117"
45 for (t = 0; t < 10.01; t += 0.05)
46 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
51 <?plugin AsciiSVG width="117" height="117"
58 for (t = 0; t < 10.01; t += 0.05)
59 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
65 With multiple ~AsciiSVG plugins on the same page the 2nd and
66 subsequent ones will have the same width and height.
69 [Reini Urban|PhpWiki:ReiniUrban]
75 [PhpWikiDocumentation] [WikiPlugin|Help:WikiPlugin]