summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 17:27:26 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 17:27:26 +0000
commitfbb7e835bffb3653af5165cbcc62aef0df8bfe93 (patch)
tree556994e281f2760742f38823577c476dbcb84122 /Master/texmf-dist/doc/asymptote
parentdf88f83b1126c57b3ca9b0371071f36caba3fbbf (diff)
asymptote 2.41 for TL17
git-svn-id: svn://tug.org/texlive/trunk@43843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/asymptote')
-rw-r--r--Master/texmf-dist/doc/asymptote/CAD.pdfbin67492 -> 67517 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdfbin31451 -> 31416 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asy-latex.pdfbin194740 -> 194549 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asyRefCard.pdfbin53672 -> 53677 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asymptote.pdfbin1288922 -> 1295140 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy29
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/colorpatch.asy18
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/washermethod.asy2
8 files changed, 48 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/CAD.pdf b/Master/texmf-dist/doc/asymptote/CAD.pdf
index a7b2400fd9b..30932b86142 100644
--- a/Master/texmf-dist/doc/asymptote/CAD.pdf
+++ b/Master/texmf-dist/doc/asymptote/CAD.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
index e6c32ee7055..1f5a1b68f65 100644
--- a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
+++ b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asy-latex.pdf b/Master/texmf-dist/doc/asymptote/asy-latex.pdf
index 7e15edf6287..a4175f6eefb 100644
--- a/Master/texmf-dist/doc/asymptote/asy-latex.pdf
+++ b/Master/texmf-dist/doc/asymptote/asy-latex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
index b64189979a5..208c4eedc18 100644
--- a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
+++ b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asymptote.pdf b/Master/texmf-dist/doc/asymptote/asymptote.pdf
index 1b43272e3d9..49d678f6514 100644
--- a/Master/texmf-dist/doc/asymptote/asymptote.pdf
+++ b/Master/texmf-dist/doc/asymptote/asymptote.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy b/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy
new file mode 100644
index 00000000000..f6c1d1895fc
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy
@@ -0,0 +1,29 @@
+import three;
+
+size(300);
+
+patch p=patch(unstraighten(unitplane.s[0].external()));
+
+p.P[3][0]+=(0,0,1);
+
+p.P[1][0]+=(0,0,1/3);
+p.P[2][0]+=(0,0,2/3);
+p.P[3][1]+=(0,0,2/3);
+p.P[3][2]+=(0,0,1/3);
+
+p.P[2][1]=interp(p.P[2][0],p.P[2][3],1/3);
+p.P[2][2]=interp(p.P[2][0],p.P[2][3],2/3);
+
+p.P[1][1]=interp(p.P[1][0],p.P[1][3],1/3);
+p.P[1][2]=interp(p.P[1][0],p.P[1][3],2/3);
+
+draw(surface(p),red+opacity(0.75));
+
+void dot(triple[][] P) {
+ for(int i=0; i < 4; ++i)
+ for(int j=0; j < 4; ++j) {
+ draw(string(i)+","+string(j),P[i][j],linewidth(1mm));
+ }
+}
+
+dot(surface(p).s[0].P);
diff --git a/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy b/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy
new file mode 100644
index 00000000000..e0f6b5b4272
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy
@@ -0,0 +1,18 @@
+import three;
+currentlight=Viewport;
+
+size(10cm);
+
+surface s=surface(patch(new triple[][] {
+ {(0,0,0),(1,0,0),(1,0,0),(2,0,0)},
+ {(0,1,0),(1,0,1),(1,0,1),(2,1,0)},
+ {(0,1,0),(1,0,-1),(1,0,-1),(2,1,0)},
+ {(0,2,0),(1,2,0),(1,2,0),(2,2,0)}}));
+
+s.s[0].colors=new pen[] {red,green,blue,black};
+draw(s,nolight);
+
+surface t=shift(Z)*unitplane;
+t.s[0].colors=new pen[] {red,green,blue,black};
+
+draw(t,nolight);
diff --git a/Master/texmf-dist/doc/asymptote/examples/washermethod.asy b/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
index d86bf8cd4df..c3177aa111e 100644
--- a/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
@@ -5,7 +5,7 @@ currentprojection=perspective(0,0,11,up=Y);
pen color1=green+opacity(0.25);
pen color2=red;
-real alpha=250;
+real alpha=240;
real f(real x) {return 2x^2-x^3;}
pair F(real x) {return (x,f(x));}