• Remix
  • Share
  • New Entry

on 21 Oct 2021
  • 6
  • 295
  • 0
  • 0
  • 279
figure(Color='k')
% light
% y=[1 1 .8];
fill([-7.7 6 -20],[1 -2.6 -15],'y');
hold on
t=0:.1:2*pi;
fill(8*cos(t),4*sin(t),'y');
% bat
x=[0 .5 .8 .9 1 2 2.9 3 4.5 6 6.8 7];
y=[17 17 26 16 10 8 20 27 23 14 7 0]/10;
s=-7:.1:7;
f=abs(s);
i=5:12;
fill([s,flip(s)],[pchip(x,y,f),flip(-pchip([0,x(i)],[3,y(i)],f))],'k');
axis equal off
Image
Remix Tree