- /
-
Art with lines
on 5 Oct 2021
- 70
- 191
- 0
- 0
- 258
n = 1000 ;
X = zeros(n,1) ;
Y = zeros(n,1) ;
Z = zeros(n,1) ;
t = 0 ;
for n = 2:1000
t = t + 0.5 ;
X(n+1) = X(n) + 0.5*sin(3*(t)) ;
Y(n+1) = Y(n) + 0.5*sin(7*(t)) ;
Z(n+1) = Z(n) + 0.5*sin(2*(t)) ;
end
surface([X X],[Y Y],[Z Z],[Z Z],'facecol','no','edgecol','interp','linew',2);