diff options
author | Karl Berry <karl@freefriends.org> | 2011-12-03 16:47:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-12-03 16:47:39 +0000 |
commit | 97e4684a37e4899e8cdd42ab670b6e25dd319d1a (patch) | |
tree | bc263a56d75c177b79ae13c6e6ec7a3c30278dbf /Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp | |
parent | a2c8654f8955a0d35c8b0c2d1752a506a426681b (diff) |
featpost (17nov11)
git-svn-id: svn://tug.org/texlive/trunk@24738 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp')
-rw-r--r-- | Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp b/Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp new file mode 100644 index 00000000000..a921fd06f49 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/featpost/example/pathofstraightline.mp @@ -0,0 +1,29 @@ +% pathofstraightline.mp +% L. Nobre G. +% 2003 + +input featpost3Dplus2D; + +SphericalDistortion := true; +Spread := 100; +f := 0.4*(1.5,0.5,1); + +beginfig(1); + numeric gridstep, sidenumber, i, coord; + color pa, pb, pc, pd; + gridstep = 0.1; + sidenumber = 10; + coord = 0.5*sidenumber*gridstep; + for i=0 upto sidenumber: + pa := (-coord,-coord+i*gridstep,0); + pb := (coord,-coord+i*gridstep,0); + pc := (-coord+i*gridstep,-coord,0); + pd := (-coord+i*gridstep,coord,0); + draw pathofstraightline( pa, pb ); + draw pathofstraightline( pc, pd ); + endfor; +endfig; + +end. + +
\ No newline at end of file |