plugin:asciisvg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:asciisvg [2011-06-23 16:46] – [ToDo] atronoush | plugin:asciisvg [2022-07-29 23:27] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : m.rahmani@aut.ac.ir | email : m.rahmani@aut.ac.ir | ||
type : Syntax | type : Syntax | ||
- | lastupdate : 2008-08-05 | + | lastupdate : 2011-06-25 |
- | compatible : version 2010-11-07|version 2011-05-25|version 2011-05-25a(also compatible with older version 2009-05-08) | + | compatible : Lemming, Anteater, Rincewind |
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
tags : media, images, diagram, svg | tags : media, images, diagram, svg | ||
Line 177: | Line 177: | ||
== Example 1 == | == Example 1 == | ||
- | < | + | < |
- | + | <asvg 117/117> | |
- | <html> | + | |
- | <embed width=" | + | initPicture(-2.2,2.2,-2.2) |
- | script=' | + | line([-2,-2],[2,2]) |
- | axes() | + | marker = ' |
- | a = [0,0] | + | line([-2,2],[2,-2]) |
- | b = [5,5] | + | |
- | | + | </asvg> |
- | line(a,b) | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | path([a,[0,5],b,[5,0]]) | + | |
- | stroke = " | + | |
- | marker = " | + | |
- | curve([a, | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | marker = " | + | |
- | | + | |
- | </html> | + | |
</ | </ | ||
- | See the result here [[http:// | + | |
== Example 2 == | == Example 2 == | ||
- | < | + | < |
- | + | <asvg 250/250> | |
- | <html> | + | initPicture(-1,6,-1,6) |
- | <embed width=" | + | |
- | script=' | + | |
- | axes() | + | b = [5,5] |
- | a = 1 | + | marker = ' |
- | stroke | + | line(a,b) |
- | update()'> | + | |
- | < | + | text(b,' |
- | function update() { | + | text(b,' |
- | plot(function | + | text(b,' |
- | | + | text(b,' |
- | } | + | |
- | </ | + | |
- | + | | |
- | </html> | + | |
+ | | ||
+ | | ||
+ | stroke = ' | ||
+ | | ||
+ | curve([a,[.25, | ||
+ | stroke = ' | ||
+ | circle([5, | ||
+ | ellipse([0, | ||
+ | stroke = ' | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
- | See the result here [[http:// | + | |
- | + | * Asciisvg in use, see this image: [[http:// | |
- | More examples in [[http:// | + | |
===== ToDo ===== | ===== ToDo ===== | ||
Line 249: | Line 237: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | It doesnt work with the newest Version it seems. Its 2009-02-14b. | ||
- | I installed the newest plugin version, copied an example to a page but it doesnt show anything. FIXME |
plugin/asciisvg.1308840368.txt.gz · Last modified: 2011-06-23 16:46 by atronoush