- /
-
color worm 2130
on 31 Oct 2021
- 1
- 18
- 4
- 0
- 144
x=linspace(0, 9*pi);
m=0.25;
y=m*sin(x/9).*x.*sin(x);
%h1=plot(x,y,LineWidth=8);
hold on;
k=256;
c=hsv(k);
for n = 1:k
% h2 = copyobj(h1, gca);
% t = hgtransform;
% set(h2,Parent=t,Color=c(n,:))
plot(x,y+(n-k/2)*0.05*sin(x/9),Color=c(n,:));
end
axis equal
axis off