summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/logo3.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-16 00:19:13 +0000
committerKarl Berry <karl@freefriends.org>2009-05-16 00:19:13 +0000
commitbab45528d65eaafe68a705dbb2a57075c7b7cbd8 (patch)
tree10b4ae2b5195c8dede153ab89359ec00f55f325f /Build/source/utils/asymptote/examples/logo3.asy
parent8643d90372e9c31e0f461c15c596b60a545bd7d3 (diff)
asymptote 1.72 sources (not integrated into build yet)
git-svn-id: svn://tug.org/texlive/trunk@13110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/logo3.asy')
-rw-r--r--Build/source/utils/asymptote/examples/logo3.asy33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/examples/logo3.asy b/Build/source/utils/asymptote/examples/logo3.asy
new file mode 100644
index 00000000000..6fc73dc9470
--- /dev/null
+++ b/Build/source/utils/asymptote/examples/logo3.asy
@@ -0,0 +1,33 @@
+import three;
+
+size(560,320,IgnoreAspect);
+size3(140,80,15);
+currentprojection=perspective(-3,20,10,up=Y);
+currentlight=adobe;
+
+path[] outline;
+
+real a=-0.4;
+real b=0.95;
+real y1=-5;
+real y2=-3y1/2;
+path A=(a,0){dir(10)}::{dir(89.5)}(0,y2);
+outline.push(A);
+outline.push((0,y1){dir(88.3)}::{dir(20)}(b,0));
+real c=0.5*a;
+pair z=(0,2.5);
+path[] text = shift(0,2)*scale(0.01,0.15)*
+ texpath(Label("{\it symptote}",z,0.25*E+0.169S,fontsize(24)));
+outline.append(text);
+pair w=(0,1.7);
+outline.push(intersectionpoint(A,w-1--w)--w);
+outline.push((0,y1)--(0,y2));
+outline.push((a,0)--(b,0));
+
+for(path p : outline)
+ draw(extrude(p,-0.1Z),material(lightgray,shininess=1.0));
+
+draw(path3(outline),red+linewidth(0));
+
+draw(surface(text),red,nolight);
+