summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/parametricelevation.asy
blob: 52cec8728a5bf1d5572a1842ba65a16fba896358 (plain)
1
2
3
4
5
6
7
8
9
10
import graph3;
import palette;
size(200);

currentprojection=orthographic(4,2,4);

triple f(pair z) {return expi(z.x,z.y);}

surface s=surface(f,(0,0),(pi,2pi),10,Spline);
draw(s,mean(palette(s.map(zpart),BWRainbow())),black,nolight);