Julia_avi
Fractals
Some fractals it is interesting to look "in
movement". Do it with the well known fractal of Julia.
Let's remind how it is construct. We
take function p*sqrt (z) +q of complex variable z with complex values p
and q. We will begin with value z=1. The number of its possible
values {-p+q, p+q) is two. We will designate it as T (1). Now will
calculate for them the posiible values. We will get set T(2) with four
numbers. And so on. We get sequence T
(n) each of which contains 2 ** n complex values.
We take two functions with numbers p1, q1 and
p2, q2 and we will construct all intermediate values for all 2** n
elemenys. (In our case n=9).
At movement from function 1 to function 2
points will vary continuously till it will
be a failure. We will designate this place as a circle and where they
will pass we will show as a weak dot line. Also we will change
points p1, q1 depending on time. 7 possible movements are given.
1) q1 rotate around 0
2) p1 rotate around
0
3) q1 rotate around
q2
4) p1 rotate around
p2
5) q1 moves to q2
6) p1 moves to p2
7) q1, p1 moves to q2, p2
Commands of the main menu:
Initial - various initial positions. It
can be moved by mouse.
Functions-> Draw line - draw or not the
"failures"
Functions-> Draw circle - to draw or not a
base circle
Commands in the main form:
Group Initial concerns of initial position of p
and q.
Group Fractal concerns the image of the fractal.
Smoosing - The number of lines in polyline
K Fractal - an order of our fractal
Color line - colour of "failure" lines
R - radius of circles
Color beg. And Color end - colour of the
beginning and the end of polylines
Draw 1, Draw 2 - to draw or not initial circles
Group Video concerns record of ours AVI
N frame - the number of frames
N degree - the full angle on which becomes turn
Ouur anime is the set of pictures in the
directory Video. Then it can be convert to AVI files in program
VirtualDub.