1 Date: Mon, 16 Jun 2008 14:15:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id: Help%2FAsciiSVGPlugin,v 1.5 2008-06-18 01:12:38 vargenau Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FAsciiSVGPlugin;
9 Content-Transfer-Encoding: binary
11 Interface to http://www1.chapman.edu/~jipsen/svg/asciisvg.html
13 Requires ENABLE_XHTML_XML = true
15 Syntax: http://www1.chapman.edu/~jipsen/svg/asciisvgcommands.html
17 If you are using Internet Explorer 6 + Adobe SVGviewer (often included
18 by default with Windows XP) or SVG enabled Mozilla/Firefox (and have
19 Adobe SVGviewer installed as well!) then you should see the examples.
23 <?plugin AsciiSVG width= height= onmousemove="" script=""
30 width, height, script, onmouseover
32 All other arguments are passed to the ASCIISvg javascript library and
34 http://www1.chapman.edu/~jipsen/svg/asciisvg.html
39 <?plugin AsciiSVG width="117" height="117"
46 for (t = 0; t < 10.01; t += 0.05)
47 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
52 <?plugin AsciiSVG width="117" height="117"
59 for (t = 0; t < 10.01; t += 0.05)
60 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
66 With multiple ~AsciiSVG plugins on the same page the 2nd and
67 subsequent ones will have the same width and height.
70 [Reini Urban|PhpWiki:ReiniUrban]
76 [PhpWikiDocumentation] [CategoryWikiPlugin]