<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://c64mags.untergrund.net/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://c64mags.untergrund.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Jamaica_10_ch14_Introduction_to_Simple_Fractals</id>
		<title>Jamaica 10 ch14 Introduction to Simple Fractals - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://c64mags.untergrund.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Jamaica_10_ch14_Introduction_to_Simple_Fractals"/>
		<link rel="alternate" type="text/html" href="http://c64mags.untergrund.net/wiki/index.php?title=Jamaica_10_ch14_Introduction_to_Simple_Fractals&amp;action=history"/>
		<updated>2026-06-16T11:24:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://c64mags.untergrund.net/wiki/index.php?title=Jamaica_10_ch14_Introduction_to_Simple_Fractals&amp;diff=2333&amp;oldid=prev</id>
		<title>Ymgve at 14:42, 21 June 2007</title>
		<link rel="alternate" type="text/html" href="http://c64mags.untergrund.net/wiki/index.php?title=Jamaica_10_ch14_Introduction_to_Simple_Fractals&amp;diff=2333&amp;oldid=prev"/>
				<updated>2007-06-21T14:42:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;introduction to simple fractals....tchad&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
  yes, here is a small summary of the&lt;br /&gt;
theories and the practical details about&lt;br /&gt;
how to make a special form of fractals&lt;br /&gt;
known as julia-sets and the mandelbrot-&lt;br /&gt;
set.&lt;br /&gt;
&lt;br /&gt;
             COMPLEX NUMBERS&lt;br /&gt;
&lt;br /&gt;
  at first, you have to be familiar to&lt;br /&gt;
so called complex numbers...&lt;br /&gt;
  complex numbers are based upon the&lt;br /&gt;
factor sqr(-1), which is stated as I!&lt;br /&gt;
an arbitrary complex number is stated as&lt;br /&gt;
&lt;br /&gt;
                 A + BI&lt;br /&gt;
&lt;br /&gt;
where a and b can be any real&lt;br /&gt;
coefficient.&lt;br /&gt;
&lt;br /&gt;
EX.   2 + 3i&lt;br /&gt;
      7 + 0.5i&lt;br /&gt;
     -1 - 2i    or    0.65734 - 0.48786i&lt;br /&gt;
&lt;br /&gt;
  A is called the REAL part of the&lt;br /&gt;
complex number while B is called the&lt;br /&gt;
IMAGINARY part.&lt;br /&gt;
&lt;br /&gt;
       HOW TO DRAW COMPLEX GRAPHS&lt;br /&gt;
&lt;br /&gt;
  to visualize complex numbers in an&lt;br /&gt;
easy way, matematicians have invented a&lt;br /&gt;
so called complex plane...  that means&lt;br /&gt;
that you use the a-coefficient as the&lt;br /&gt;
x-coordinate and the b-coefficient as&lt;br /&gt;
the y-coordinate and then draw a point&lt;br /&gt;
at the corresponding place on the&lt;br /&gt;
complex plane. the x-axis turns into&lt;br /&gt;
real-axis and the y-axis turns into an&lt;br /&gt;
imaginary-axis.&lt;br /&gt;
&lt;br /&gt;
EX.&lt;br /&gt;
                    i&lt;br /&gt;
                    i&lt;br /&gt;
                    i&lt;br /&gt;
                    i x (2 + 3i)&lt;br /&gt;
     (-5 + 2i) x    i&lt;br /&gt;
                    i&lt;br /&gt;
          ----------i----------&lt;br /&gt;
                    i     x (6 - i)&lt;br /&gt;
                    i&lt;br /&gt;
       (-3 - 3i) x  i&lt;br /&gt;
                    i&lt;br /&gt;
                    i&lt;br /&gt;
                    i&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     THE THEORY BEHIND THE FRACTALS&lt;br /&gt;
&lt;br /&gt;
  in the beginning of this century, some&lt;br /&gt;
french matematicians called GASTON JULIA&lt;br /&gt;
&amp;amp;amp; PIERRE FATOU experimented with this&lt;br /&gt;
kind of complex numbers.&lt;br /&gt;
  their special interest was caught by a&lt;br /&gt;
simple iteration-formula like this :&lt;br /&gt;
&lt;br /&gt;
               z = z^2 + c&lt;br /&gt;
&lt;br /&gt;
where both z and c can be complex&lt;br /&gt;
numbers.&lt;br /&gt;
  they came to the conclusion that the&lt;br /&gt;
iteration developed in different ways&lt;br /&gt;
depending on the constant c. sometimes,&lt;br /&gt;
z seemed to approach infinity and some-&lt;br /&gt;
times it seemed to vary in a chaotic way&lt;br /&gt;
and never exceed a special value!&lt;br /&gt;
  they started to make maps in the&lt;br /&gt;
complex plane over the points whose&lt;br /&gt;
complex value resulted in a chaotic&lt;br /&gt;
behaviour of the iteration. the process&lt;br /&gt;
was executed like this :&lt;br /&gt;
&lt;br /&gt;
     1. set c to any complex number.&lt;br /&gt;
&lt;br /&gt;
     2. examine each point in the&lt;br /&gt;
        complex plane and set z to its&lt;br /&gt;
        value in the beginning of the&lt;br /&gt;
        iteration.&lt;br /&gt;
&lt;br /&gt;
     3. repeat the iteration&lt;br /&gt;
&lt;br /&gt;
        z = z^2 + c&lt;br /&gt;
&lt;br /&gt;
        until the absolute value of z&lt;br /&gt;
        exceeds the value 2.&lt;br /&gt;
        if it never exceeds 2, then the&lt;br /&gt;
        point is within this actual&lt;br /&gt;
        julia-set and must be marked&lt;br /&gt;
        in the complex plane.&lt;br /&gt;
&lt;br /&gt;
     4. repeat this (from *2) for each&lt;br /&gt;
        of the points in the plane.&lt;br /&gt;
&lt;br /&gt;
        THE ITERATION IN DETAIL &amp;amp;amp;&lt;br /&gt;
        THE ABSOLUTE VALUE OF Z!&lt;br /&gt;
&lt;br /&gt;
  to fully understand the iteration, you&lt;br /&gt;
have to divide it into smaller pieces&lt;br /&gt;
and represent the variables with complex&lt;br /&gt;
expressions.&lt;br /&gt;
&lt;br /&gt;
               z = z^2 + c&lt;br /&gt;
like this:&lt;br /&gt;
         x+yi = (x+yi)^2 + a+bi&lt;br /&gt;
&lt;br /&gt;
         x+yi = x^2+2xyi-y^2 + a+bi&lt;br /&gt;
&lt;br /&gt;
identify the real and the imaginary part&lt;br /&gt;
of z :&lt;br /&gt;
&lt;br /&gt;
            x = x^2-y^2+a&lt;br /&gt;
            y = 2xy+b&lt;br /&gt;
&lt;br /&gt;
  this is the general formula, used&lt;br /&gt;
while programming computers.&lt;br /&gt;
&lt;br /&gt;
but what is the absolute value of z??&lt;br /&gt;
&lt;br /&gt;
well, you can say it's the distance from&lt;br /&gt;
origo to z's place in the plane.&lt;br /&gt;
this can be expressed as SQR (X_&amp;amp;lt;9e&amp;amp;gt;2 + Y_&amp;amp;lt;9e&amp;amp;gt;2)&lt;br /&gt;
(according to old pythagoras)&lt;br /&gt;
&lt;br /&gt;
hence, each point that never shows any&lt;br /&gt;
sign of developing z to exceed 2 is a&lt;br /&gt;
part of the actual julia-set.&lt;br /&gt;
&lt;br /&gt;
DIFFERENT JULIA-SETS &amp;amp;amp; THEIR CONNECTIONS&lt;br /&gt;
&lt;br /&gt;
  there is a unique julia-set for each&lt;br /&gt;
c-value and there are only some small&lt;br /&gt;
connections between them. the simpliest&lt;br /&gt;
julia-set is the one that has the&lt;br /&gt;
c-constant = 0 + 0i. this julia-set is&lt;br /&gt;
shaped like a perfect circle. even some&lt;br /&gt;
small changes in the c-constant, changes&lt;br /&gt;
the julia-set radically. it slowly meta-&lt;br /&gt;
morphosizes into more and more&lt;br /&gt;
complicated shapes. for instance, the&lt;br /&gt;
julia-set for c = 0 + i looks like a&lt;br /&gt;
crack in the ground or whatever your&lt;br /&gt;
fantasy can come up with.&lt;br /&gt;
  at a certain limit, the julia sets&lt;br /&gt;
changes from being fully connected to&lt;br /&gt;
disconnected &amp;quot;islands&amp;quot;. this limit is&lt;br /&gt;
different, depending on the angle from&lt;br /&gt;
origo to z. in fact, this limit is&lt;br /&gt;
extremely complicated.&lt;br /&gt;
&lt;br /&gt;
           THE MANDELBROT-SET&lt;br /&gt;
&lt;br /&gt;
  ofcourse, this limit can be visualized&lt;br /&gt;
in the complex plane. then it's more&lt;br /&gt;
known under &amp;quot;the mandelbrot-set&amp;quot;&lt;br /&gt;
  the main-process for the&lt;br /&gt;
mandelbrot-set is almost the same as for&lt;br /&gt;
the julia-sets.&lt;br /&gt;
&lt;br /&gt;
               z = z^2 + c&lt;br /&gt;
&lt;br /&gt;
the difference is that you don't keep c&lt;br /&gt;
for constant anymore. instead you follow&lt;br /&gt;
the complex plane with c, in the same&lt;br /&gt;
way you did with z when generating&lt;br /&gt;
julia-sets. the start-value for z is now&lt;br /&gt;
equal to 0. some time, i might include a&lt;br /&gt;
small routine for generating both&lt;br /&gt;
mandelbrot- and julia-sets.&lt;br /&gt;
&lt;br /&gt;
             VISUAL EFFECTS&lt;br /&gt;
&lt;br /&gt;
  you don't have to mark just the points&lt;br /&gt;
that belongs to the real set. in fact,&lt;br /&gt;
this is very unusual. to receive the&lt;br /&gt;
best effect, you usually choose to&lt;br /&gt;
colour the point according to how fast&lt;br /&gt;
they are attracted by infinity. for&lt;br /&gt;
example, you can let the colour of a&lt;br /&gt;
point depend on which iteration it&lt;br /&gt;
showed the first sign of being attracted&lt;br /&gt;
by infinity. if the point never does&lt;br /&gt;
this, the iteration stops at a pre-&lt;br /&gt;
defined amount (known as&lt;br /&gt;
&amp;quot;max.iterations&amp;quot;) and it's coloured&lt;br /&gt;
black. this kind of technique is what&lt;br /&gt;
you usually see the result of in demos&lt;br /&gt;
and such.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
           ... to be continued&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ymgve</name></author>	</entry>

	</feed>