Generation of 3D fractal trees

버전 1.3.0.0 (2.52 KB) 작성자: Dmitry
This small function is extension of previous one for 3D case
다운로드 수: 2K
업데이트 날짜: 2011/5/25

라이선스 보기

% This function allow you to build 3D-fractal trees
% by using modified algorithms based on the so-called Kantor`s array
% and method of inverse trace
% These methods allow you to economise time and computer memory
% considerably
% It`s arguments:
% FraktalTM3D(n,r,phi,chi,xb,yb,zb)
% n - number of iterations
% r - scale factor
% in case of nonuniform fractals where different scale-factors take
% place, r may be vector
% phi - vector of azimuth angles in fractal generator that are calculated
% chi - vector of polar angles in fractal generator relative to the
% trunk
% xb, yb and zb - coordinates of trunk
%
% For example for famous Pifagorus`s tree in it`s vertical position the call of this function is
% so:
% FraktalTM3DM(n,[0.5,0.8,0.8],[0,2*pi/3,4*pi/3],[pi/3,pi/3,pi/3],[0,0],[0,0],[0,1])
% n is recommended to be in range 1..10 not to call the overloaded of stack

인용 양식

Dmitry (2024). Generation of 3D fractal trees (https://www.mathworks.com/matlabcentral/fileexchange/29537-generation-of-3d-fractal-trees), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fractals에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

Several bugs concerning scaling factor and visualisation were fixed

1.0.0.0