1 Date: Thu, 22 Feb 2007 21:15:59 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.13)
3 X-Rcs-Id: $Id: Help%2FAsciiSVGPlugin,v 1.1 2007-02-22 20:25:22 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FAsciiSVGPlugin;
6 pgsrc_version="2 $Revision: 1.1 $";
10 Content-Transfer-Encoding: binary
12 Interface to http://www1.chapman.edu/~jipsen/svg/asciisvg.html
14 Requires ENABLE_XHTML_XML = true
16 Syntax: http://www1.chapman.edu/~jipsen/svg/asciisvgcommands.html
18 If you are using Internet Explorer 6 + Adobe SVGviewer (often included
19 by default with Windows XP) or SVG enabled Mozilla/Firefox (and have
20 Adobe SVGviewer installed as well!) then you should see the examples.
24 <?plugin AsciiSVG width= height= onmousemove="" script=""
31 width, height, script, onmouseover
33 All other arguments are passed to the ASCIISvg javascript library and
35 http://www1.chapman.edu/~jipsen/svg/asciisvg.html
40 <?plugin AsciiSVG width="117" height="117"
47 for (t = 0; t < 10.01; t += 0.05)
48 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
53 <?plugin AsciiSvg width="117" height="117"
60 for (t = 0; t < 10.01; t += 0.05)
61 p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
67 With multiple ~AsciiSvg plugins on the same page the 2nd and
68 subsequent ones will have the same width and height.
77 PhpWikiDocumentation Help:WikiPlugin