• Remix
  • Share
  • New Entry

on 17 Oct 2024
  • 11
  • 63
  • 0
  • 0
  • 300
Cite your audio source here (if applicable):
drawframe(1);
x = 1×200
0 -0.1252 -0.2439 -0.3499 -0.4374 -0.5013 -0.5373 -0.5424 -0.5145 -0.4528 -0.3578 -0.2311 -0.0759 0.1039 0.3032 0.5163 0.7367 0.9577 1.1724 1.3740 1.5560 1.7127 1.8389 1.9306 1.9848 1.9997 1.9749 1.9111 1.8104 1.6762
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
y = 1×200
2.0000 1.9801 1.9211 1.8249 1.6946 1.5345 1.3497 1.1461 0.9303 0.7090 0.4891 0.2774 0.0802 -0.0968 -0.2486 -0.3714 -0.4623 -0.5198 -0.5436 -0.5345 -0.4947 -0.4277 -0.3376 -0.2297 -0.1098 0.0158 0.1405 0.2580 0.3620 0.4468
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
Write your drawframe function below
% mp
function drawframe(f)
clf;
axis([-20 20 -20 20 -20 20]);
axis off;
set(gca, 'Color', 'k');
set(gca, 'Visible', 'off');
view(3);
t = linspace(0, 4*pi, 200);
x = sin(t)-sin(3*t)
y = cos(t)+cos(3*t)
z = t;
colorValues = linspace(0, 1, 200);
scatter3(x, y, z, 120, colorValues, 'filled');
rotateAngle = f * (360 / 96);
camorbit(rotateAngle, 1);
drawnow;
end
Movie
Audio

This submission does not have audio.

Remix Tree