• Remix
  • Share
  • New Entry

on 15 Oct 2021
  • 11
  • 53
  • 1
  • 0
  • 260
% 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=[.1 .6 1];
P.FaceColor='k';
axis equal off
view([182 0])
a=copyobj(gca,gcf);
a.Position(1)=.6;
view([90 0])
Remix Tree