summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/twistedtubes.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/twistedtubes.asy')
-rw-r--r--Build/source/utils/asymptote/examples/twistedtubes.asy16
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/utils/asymptote/examples/twistedtubes.asy b/Build/source/utils/asymptote/examples/twistedtubes.asy
index 420e3898986..4d38d86f4df 100644
--- a/Build/source/utils/asymptote/examples/twistedtubes.asy
+++ b/Build/source/utils/asymptote/examples/twistedtubes.asy
@@ -11,10 +11,10 @@ triple f2(pair t) {return (cos(t.x)+2cos(w*t.y),sin(t.x)+2sin(w*t.y),t.y);}
triple f3(pair t) {return (cos(t.x)+2sin(w*t.y),sin(t.x)-2cos(w*t.y),t.y);}
triple f4(pair t) {return (cos(t.x)-2sin(w*t.y),sin(t.x)+2cos(w*t.y),t.y);}
-surface s1=surface(f1,(0,0),(2pi,10),25,15);
-surface s2=surface(f2,(0,0),(2pi,10),25,15);
-surface s3=surface(f3,(0,0),(2pi,10),25,15);
-surface s4=surface(f4,(0,0),(2pi,10),25,15);
+surface s1=surface(f1,(0,0),(2pi,10),8,8,Spline);
+surface s2=surface(f2,(0,0),(2pi,10),8,8,Spline);
+surface s3=surface(f3,(0,0),(2pi,10),8,8,Spline);
+surface s4=surface(f4,(0,0),(2pi,10),8,8,Spline);
pen[] Rainbow=Rainbow();
s1.colors(palette(s1.map(f),Rainbow));
@@ -22,7 +22,7 @@ s2.colors(palette(s2.map(f),Rainbow));
s3.colors(palette(s3.map(f),Rainbow));
s4.colors(palette(s4.map(f),Rainbow));
-draw(s1,meshpen=black);
-draw(s2,meshpen=black);
-draw(s3,meshpen=black);
-draw(s4,meshpen=black);
+draw(s1);
+draw(s2);
+draw(s3);
+draw(s4);