- /
-
Parametric 3D
on 17 Oct 2024
- 11
- 63
- 0
- 0
- 300
Cite your audio source here (if applicable):
drawframe(1);
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.