- /
-
Volcano
on 26 Oct 2021
- 3
- 119
- 0
- 0
- 250
k=-.5:0.01:.5;
s=0:0.08:0.8;
[x,y,z]=meshgrid(k,k,s);
v=abs(x).^1.8+abs(y).^1.8+abs(z).^0.1;
l=isosurface(x,y,z,v,1);
patch(l,'FaceVertexCData',copper(length(l.vertices)).^3,'facecolor','interp','edgecolor','none');
axis equal off;
camlight headlight;
view([-57 26]);