- /
-
6 point star
on 18 Oct 2021
- 7
- 21
- 1
- 0
- 159
[x,y] = cylinder(1,3);
x=x(1,:);
y=y(1,:);
c=[bone(10);flipud(bone(10))];
for i=1:100
patch(y,x,c(mod(i-1,20)+1,:),'edgecolor','none');
x=-x*0.95;
y=y*0.95;
end
axis equal off;