- /
-
Easter Egg with Light
on 5 Oct 2021
- 7
- 82
- 12
- 0
- 280
figure('Color','g');
f=@(x,y,z) (x/1).^2+(y.^2+z.^2)./(0.8*(1-x)/2*1+0.6*(1+x)/2*1).^2-1;
fimplicit3(f,FaceColor='interp',EdgeColor='interp',AmbientStrength=0.5,SpecularExponent=20,SpecularStrength=0.7)
axis equal off
colormap spring
view(30,60)
light(Position=[.5 -1 .4],Color=[.8 .8 0]);