blob: ac0f0b09ad5d53033624884cade430a623e8a527 (
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,render(merge=true));
|