• Remix
  • Share
  • New Entry

on 8 Oct 2024
  • 10
  • 107
  • 0
  • 0
  • 236
Cite your audio source here (if applicable):
drawframe(1);
Write your drawframe function below
function drawframe(f)
persistent h
tree = @(c,x,r) cumsum(exp(1i*(c*x.^2 + f)));
c = pi*(1+sqrt(5))/2;
npts = 8*100;
x = 0:npts;
z = tree(c,x,f);
if isempty(h)
h = plot(real(z),imag(z),".");
else
h.XData = real(z)
h.YData = imag(z)
end
axis equal
axis ([-40 40 -40 40])
axis off;
% source: https://www.mathworks.com/help/matlab/creating_guis/create-task-from-selection.html
end
Movie
Audio

This submission does not have audio.

Remix Tree