summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-29 14:00:37 +0000
committerKarl Berry <karl@freefriends.org>2009-09-29 14:00:37 +0000
commit93b70a6b5bf985b86b936248e34c810edfb1ebcb (patch)
treee3aef4bed05158dc1a5cdd4178fc531bdf4f04b3 /Master/texmf/doc/asymptote
parentd80f6a20d7b907ac933f687a7a0f1fd100a219f8 (diff)
asy 1.87
git-svn-id: svn://tug.org/texlive/trunk@15555 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/doc/asymptote')
-rw-r--r--Master/texmf/doc/asymptote/CAD.pdfbin67399 -> 67399 bytes
-rw-r--r--Master/texmf/doc/asymptote/asymptote.pdfbin1567244 -> 1568843 bytes
-rw-r--r--Master/texmf/doc/asymptote/examples/animations/wavepacket.asy1
-rw-r--r--Master/texmf/doc/asymptote/examples/bigsquare.asy2
-rw-r--r--Master/texmf/doc/asymptote/examples/billboard.asy11
-rw-r--r--Master/texmf/doc/asymptote/examples/impact.asy1
-rw-r--r--Master/texmf/doc/asymptote/examples/p-orbital.asy16
-rw-r--r--Master/texmf/doc/asymptote/examples/quartercircle.asy2
-rw-r--r--Master/texmf/doc/asymptote/examples/slidedemo.asy2
-rw-r--r--Master/texmf/doc/asymptote/examples/stereoscopic.asy11
-rw-r--r--Master/texmf/doc/asymptote/examples/threeviews.asy17
11 files changed, 50 insertions, 13 deletions
diff --git a/Master/texmf/doc/asymptote/CAD.pdf b/Master/texmf/doc/asymptote/CAD.pdf
index 13a7826f8cf..c0710dfa00b 100644
--- a/Master/texmf/doc/asymptote/CAD.pdf
+++ b/Master/texmf/doc/asymptote/CAD.pdf
Binary files differ
diff --git a/Master/texmf/doc/asymptote/asymptote.pdf b/Master/texmf/doc/asymptote/asymptote.pdf
index 951444d6fce..cb9f66d0168 100644
--- a/Master/texmf/doc/asymptote/asymptote.pdf
+++ b/Master/texmf/doc/asymptote/asymptote.pdf
Binary files differ
diff --git a/Master/texmf/doc/asymptote/examples/animations/wavepacket.asy b/Master/texmf/doc/asymptote/examples/animations/wavepacket.asy
index 72d35e59c84..006fbce1543 100644
--- a/Master/texmf/doc/asymptote/examples/animations/wavepacket.asy
+++ b/Master/texmf/doc/asymptote/examples/animations/wavepacket.asy
@@ -1,4 +1,5 @@
// Author : Philippe Ivaldi
+// http://www.piprime.fr/
// 2006/11/10
import animation;
diff --git a/Master/texmf/doc/asymptote/examples/bigsquare.asy b/Master/texmf/doc/asymptote/examples/bigsquare.asy
index b917dfc42cc..ae1f3046c7a 100644
--- a/Master/texmf/doc/asymptote/examples/bigsquare.asy
+++ b/Master/texmf/doc/asymptote/examples/bigsquare.asy
@@ -1,2 +1,2 @@
-size(0,3cm);
+size(3cm,3cm);
draw(unitsquare);
diff --git a/Master/texmf/doc/asymptote/examples/billboard.asy b/Master/texmf/doc/asymptote/examples/billboard.asy
new file mode 100644
index 00000000000..13cc69bc7df
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/billboard.asy
@@ -0,0 +1,11 @@
+import three;
+
+// Billboard support in PRC is not yet implemented.
+settings.outformat="eps";
+
+size(100);
+
+draw(unitbox);
+
+label("Billboard",X,red,Billboard);
+label("Fixed",Y,blue);
diff --git a/Master/texmf/doc/asymptote/examples/impact.asy b/Master/texmf/doc/asymptote/examples/impact.asy
index b58d381f26a..d9039697779 100644
--- a/Master/texmf/doc/asymptote/examples/impact.asy
+++ b/Master/texmf/doc/asymptote/examples/impact.asy
@@ -1,4 +1,5 @@
// Contributed by Philippe Ivaldi.
+// http://www.piprime.fr/
import graph3 ;
import contour;
diff --git a/Master/texmf/doc/asymptote/examples/p-orbital.asy b/Master/texmf/doc/asymptote/examples/p-orbital.asy
index 570d3f86b57..d8b22bc2982 100644
--- a/Master/texmf/doc/asymptote/examples/p-orbital.asy
+++ b/Master/texmf/doc/asymptote/examples/p-orbital.asy
@@ -1,9 +1,9 @@
-import graph3;
-import palette;
-size(200);
-currentprojection=orthographic(6,8,2);
+import graph3;
+import palette;
+size(200);
+currentprojection=orthographic(6,8,2);
-real c0=0.1;
+real c0=0.1;
real f(real r) {return r*(1-r/6)*exp(-r/3);}
@@ -21,8 +21,8 @@ bool cond(pair t) {return f(t.x) != 0;}
real R=abs((20,20,20));
surface s=surface(f,(0,0),(R,2pi),100,8,Spline,cond);
-s.colors(palette(s.map(abs),Gradient(palegreen,heavyblue)));
-draw(s);
-draw(zscale3(-1)*s);
+s.colors(palette(s.map(abs),Gradient(palegreen,heavyblue)));
+draw(s);
+draw(zscale3(-1)*s);
axes3("$x$","$y$","$z$",Arrow3);
diff --git a/Master/texmf/doc/asymptote/examples/quartercircle.asy b/Master/texmf/doc/asymptote/examples/quartercircle.asy
index 5c584a10e9e..6565daa046e 100644
--- a/Master/texmf/doc/asymptote/examples/quartercircle.asy
+++ b/Master/texmf/doc/asymptote/examples/quartercircle.asy
@@ -1,2 +1,2 @@
size(100,0);
-draw((1,0){up}..{left}(0,1));
+draw((1,0){up}..{left}(0,1),Arrow);
diff --git a/Master/texmf/doc/asymptote/examples/slidedemo.asy b/Master/texmf/doc/asymptote/examples/slidedemo.asy
index 1668ade5fde..c57c60adf7e 100644
--- a/Master/texmf/doc/asymptote/examples/slidedemo.asy
+++ b/Master/texmf/doc/asymptote/examples/slidedemo.asy
@@ -108,7 +108,7 @@ draw(pic,F3(r)--(1,f(r),0),red);
real x=(1+r)/2;
draw(pic,"$r$",(x,0,0)--(x,f(r),0),X+0.2Z,red,Arrow3);
draw(pic,arc(1.1X,0.4,90,90,3,-90),Arrow3);
-add(pic.fit(8.5cm));
+add(pic.fit(0,14cm));
title("\mbox{Asymptote: 2D \& 3D Vector Graphics Language}");
asyinclude("logo3");
diff --git a/Master/texmf/doc/asymptote/examples/stereoscopic.asy b/Master/texmf/doc/asymptote/examples/stereoscopic.asy
new file mode 100644
index 00000000000..639333ec476
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/stereoscopic.asy
@@ -0,0 +1,11 @@
+import three;
+
+currentprojection=perspective(50*dir(70,15));
+
+picture pic;
+unitsize(pic,1cm);
+
+draw(pic,xscale3(10)*unitcube,yellow,blue);
+
+addStereoViews(pic);
+
diff --git a/Master/texmf/doc/asymptote/examples/threeviews.asy b/Master/texmf/doc/asymptote/examples/threeviews.asy
index 39f9ed4464e..05c89e650ca 100644
--- a/Master/texmf/doc/asymptote/examples/threeviews.asy
+++ b/Master/texmf/doc/asymptote/examples/threeviews.asy
@@ -1,13 +1,26 @@
import three;
picture pic;
-size(pic,200);
+unitsize(pic,5cm);
+
currentlight.viewport=false;
settings.render=4;
+settings.toolbar=false;
+viewportmargin=(1cm,1cm);
draw(pic,scale3(0.5)*unitsphere,green);
draw(pic,Label("$x$",1),O--X);
draw(pic,Label("$y$",1),O--Y);
draw(pic,Label("$z$",1),O--Z);
-addViews(pic);
+// Europe and Asia:
+//addViews(pic,ThreeViewsFR);
+//addViews(pic,SixViewsFR);
+
+// United Kingdom, United States, Canada, and Australia:
+addViews(pic,ThreeViewsUS);
+//addViews(pic,SixViewsUS);
+
+// Front, Top, Right,
+// Back, Bottom, Left:
+//addViews(pic,SixViews);