3D fractals.
We have
written a program which allows us to draw easily "art" 3D fractals.
Our fractal consists of two polylines in 3D space smoosing
in
the
usual way. Thus the fractal is
completely described by six values (N fract and Smoosing - the
general parametres of a fractal; the values m1 and s1 - described the first polyline, m2 and s2 - the second) and its
relative position in the 3D space.
As the fractal is constructed shown in the
picture. On
each step of the
fractal constructed
the
number
of sides of the polyline doubles.
Fractals (six values) can be saved in files
fr0.dat,
fr01.dat, fr2.dat, fr3.dat. (Now there is the fractals represented on
the front page). Still it is possible to save the fractal (all) in the
asc a
file. We use program
Deep Exploration for its further viewing. Adjust
the Total Comander for work with these files: choose File->
Assotiate With and the program name. Then
the fractal can easily be saved to the format 3D Studio MAX. File->
Save As
"3ds - a file").
In a normal view the fractal is drawn by two
polylines - initial and final. It's vertex are designated by circles
for
which it is possible to move them. (By pressing in any other place all
drawing moves). Beginning have radius 7; end final - radius 10. It
is possible to look at any of three planes - XY, XZ, YX. You can also
move vertex with the buttons on the right.
By
pressing button
"Fractal" the fractal in the
form of wireframe is drawn. Buttons "X (t)"and"Y (t)" - rotate the
fractal around corresponding axes. Repeated pressing stops rotation.
(Buttons "/2 and"*2" quick and slow the rotation). To change the view
on the normal view, press the mouse button on any place of
drawing (or
press button" Stop "). Button "Sym". make your drawing.symmetrical
along axes Y.