- /
-
Smile
on 30 Oct 2021
- 2
- 49
- 0
- 0
- 270
%%describe
tf = 0:pi/50:2*pi;
th = -pi/2:pi/50:pi/2;
figure('Color','k')
hold on
axis off
%% face and eyes
x = 4*cos(tf) + 3;
y = 4*sin(tf) + 3;
h=plot(y,x,x*.2+0.5,y*.2+3,'>',x*.2+4.5,y*.2+3,'>');
h(1).LineWidth = 5;
%% mouth and ears and hair
x = cos(th);
y = sin(th);
plot(-y+3,-x+1,'o',.5*x+7,.5*y+3,'*',-.5*x-1,-.5*y+3,'*',4*y+3,4*x+3,'|');