- /
-
Whirlwind
on 6 Oct 2022
- 1
- 9
- 0
- 0
- 214
t = 0:0.01:10*pi;
A = 1;
w = 1;
sita = 0;
figure
for ii = 1:length(t)
x(ii) = A *cos(w*t(ii) + sita);
y(ii) = A *tanh(w*t(ii) + sita);
A = A+ 10;
rectangle('Position',[x(ii) y(ii) A/ii*300 A/ii*300])
hold on
end
axis off
colormap(hot)