• Remix
  • Share
  • New Entry

on 26 Oct 2021
  • 7
  • 42
  • 1
  • 0
  • 223
nr = 5; % number of revolutions
ex1 = 1/2; % shaping exponent 1, e.g. 1/2, 1, 2
ex2 = 1/2; % shaping exponent 2, e.g. 1/2, 1, 2
t = 0:0.01:nr;
k = (0:0.01:1)';
x = k.*t.*cos(2*pi*t);
y = k.*t.*sin(2*pi*t);
z = (k.^ex1).*(flip(t).^ex2);
figure('Color','k')
surf(x,y,z)
colormap winter
shading interp
lighting gouraud
camlight headlight
axis off
Image
Remix Tree