• Remix
  • Share
  • New Entry

on 18 Oct 2021
  • 9
  • 23
  • 0
  • 0
  • 273
% See an animated version of this eye depicting
% the effects of rotational optic flow:
% https://youtu.be/qpG21Hx2xTc
subplot(121)
[x,y,z]=sphere(99);
f=@(s,t)surf(s*x,s*y+t,s*z,EdgeC='n');
I=f(24,7.2); % Iris
hold on
P=f(18,13.8); % Pupil
C=f(30,0); % Cornea
colormap gray
caxis([-40 40])
shading('interp')
I.FaceColor=[.8 .3 .3];
P.FaceColor='k';
axis equal off
view([240 7])
a=copyobj(gca,gcf);
a.Position=[.4 .03 .6 1.1];
view([120 -3])
Image
Remix Tree