This file was moved to Wikimedia Commons from en.wikipedia using a bot script. All source information is still present. It requires review. Additionally, there may be errors in any or all of the information fields; information on this file should not be considered reliable and the file should not be used until it has been reviewed and any needed corrections have been made. Once the review has been completed, this template should be removed. For details about this file, see below.Check now!
DescriptionJuliasetsdkpictlightpot.jpg
English: lighting-effect
Date
(UTC)
Source
Own work (Original text: I (Gertbuschmann (talk)) created this work entirely by myself.)
Author
Gert Buschmann
Licensing
Public domainPublic domainfalsefalse
This work has been released into the public domain by its author, Gertbuschmann at English Wikipedia. This applies worldwide. In some countries this may not be legally possible; if so: Gertbuschmann grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.Public domainPublic domainfalsefalse
Colouring the Fatou domains
Our method of colouring is based on the real iteration number, which is connected with the potential function of the Fatou domain. In the three cases the potential function is given by:
(non-super-attraction)
(super-attraction)
(d ≥ 2 and z* = ∞)
The real iteration number depends on the choice of a very small number (for iteration towards a finite cycle) and a very large number N (e.g. 10100, for iteration towards ∞), and the sequence generated by z is set to stop when either for one of the points z* or , or when a chosen maximum number M of iterations is reached (which means that we have hit the Julia set, although this is not very probable).
If the cycle is not a fixed point, we must divide the iteration number k by the order r of the cycle, and take the integral part of this number.
If we calculate for the k that stops the iteration, and replace or by or N, respectively, we must replace the iteration number k by a real number, and this is the real iteration number. It is found by subtracting from k a number in the interval [0, 1[, and in the three cases this is given by:
(non-super-attraction)
(super-attraction)
(d ≥ 2 and z* = ∞)
In order to do the colouring, one needs a selection of cyclic colour scales: either pictures or scales constructed mathematically or manually by choosing some colours and connecting them in a continuous way. If the scales contain H colours (e.g. 600), we number the colours from 0 to H − 1. Then the real iteration number is multiplied by a number determining the density of the colours in the picture. The integral part of this product modulo H corresponds to the color. The density is in reality the most important factor in the colouring and if its judicious choice can result in a nice play of colours. However, some fractal motives seem to be impossible to colour satisfactorily and in these cases we have to leave the picture in black-and-white or in a moderate grey tone.
Lighting-effect
We can make the colouring more attractive for some motives by using lighting-effect. We imagine that we plot the potential function or the distance function over the plane with the fractal and that we enlight the generated hilly landscape from a given direction (determined by two angles) and look at it vertically downwards. For each point we perform the calculations of the real iteration number for two points more, very close to this, one in the x-direction and the other in the y-direction. The three values of the real iteration number form a little triangle in the space, and we form the scalar product of the normal (unit) vector to the triangle by the unit vector in the direction of the light. After multiplying the scalar product by a number determining the effect of the light, we add this number to the real iteration number (multiplied by the density number).
Instead of the real iteration number, we can also use the corresponding real number constructed from the distance function. The real iteration number usually gives the best result. Using the distance function is equivalent to forming a fractal landscape and looking at it vertically downwards.
The effect is usually best when is a polynomial and when the cycle is super-attracting, because singularities of the potential function or the distance function give bulges, which can spoil the colouring.
The original description page was here. All following user names refer to en.wikipedia.
2010-04-21 09:42 Gertbuschmann 800×600× (433930 bytes) {{Information |Description = lighting-effect |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = Gert Buschmann |other_versions = }}
Captions
Add a one-line explanation of what this file represents
{{BotMoveToCommons|en.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{en|lighting-effect}} |Source=Transferred from [http://en.wikipedia.org en.wikipedia]; transferred to Commo