• Remix
  • Share
  • New Entry

on 7 Oct 2022
  • 2
  • 10
  • 1
  • 0
  • 271
[X,Y,Z] = tubeN(@(t) t/3, 30, @(t)[ t.*sin(t), t.*cos(t), 20-t],[0,20],120);
s = surf(X,Y,Z, FaceColor = 'r', EdgeAlpha = 0.3); hold on;
[X,Y,Z] = tubeN(@(t) 5*sin(t),20,@(t)[ 5*t, 0*t, 20+0*t],[-4,4],40);
s = surf(X,Y,Z, FaceCOlor = 'r', EdgeAlpha = 0.3);
axis equal; camlight;
Image
Remix Tree