- /
-
Magical Easter Egg
on 14 Oct 2021
- 12
- 130
- 0
- 0
- 277
a=2.5;
b=1;
k=.4;
[t,z]=meshgrid(linspace(0,2*pi,1000),linspace(-b,b,1000));
r=sqrt((1-b*z.^2)/a./(1+k*z));
I=image;
I=I.CData;
l=surf(r.*cos(t),r.*sin(t),z,'edgecolor','none');
colormap(flip(colorcube));
axis equal off;
material shiny;
camlight;
lighting gouraud;
view(4,28);
l.CData= imresize(I,1000/64);