Soubor:Mandelbrot Creation Animation.gif

Obsah stránky není podporován v jiných jazycích.
Z Wikipedie, otevřené encyklopedie

Mandelbrot_Creation_Animation.gif(600 × 600 pixelů, velikost souboru: 1,78 MB, MIME typ: image/gif, ve smyčce, 20 snímků, 20 s)

Popis

Popis

An animated diagram showing iterations of the equation used to generate the Mandelbrot set, a fractal first studied by Benoît Mandelbrot in 1979. The animation shows the values of Z for first 20 iterations of the equation

where c is a complex variable.

Mandelbrot set graphics are usually generated using the so-called "escape algorithm", where color is assigned according to the number of iterations it took for the equation to diverge past a pre-set limit, and black color is used for regions that never diverge. This, however, is a plot of a much simpler quantity: the actual values of the equation at the first 20 iterations. Every pixel in the image corresponds to a different value of a complex constant c ranging from -2.2 to 1 on the real axis (horizontal) and from -1.2i to 1.2i on the imaginary axis (vertical). Z is initialized to 0. At each iteration, the next value of Z is calculated using the equation above.

This graphic was generated with 13 lines of code in the R language (see below for the code). For each point, the magnitude (aka absolute value) of Z is calculated, than scaled using an exponential function to emphasize fine detail, and finally mapped to color palette (jetColors). Dark red is a very low number, dark blue is a very high number. The deep blue region "squeezing" in the boundaries of the fractal is the region where Z value diverges to infinity.
Datum
Zdroj Vlastní dílo
Autor Jarekt
Další verze Mandelbrot Creation Animation (800x600).gif
GIF vývoj
InfoField
 
Tento GIF grafika byl vytvořen programem R
Zdrojový kód
InfoField

R code

library(caTools)
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan", "#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000")) 
m = 600
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ), 
             imag=rep(seq(-1.2,1.2, length.out=m), m ) ) 
C = matrix(C,m,m)
Z = 0 
X = array(0, c(m,m,20))
for (k in 1:20) { 
  Z = Z^2+C 
  X[,,k] = exp(-abs(Z)) 
} 
write.gif(X, "Mandelbrot.gif", col=jet.colors, delay=100)

Licence

Jarekt, držitel autorských práv k tomuto dílu, ho tímto zveřejňuje za podmínek následujících licencí:
GNU head Tento dokument smí být kopírován, šířen nebo upravován podle podmínek Svobodné licence GNU pro dokumenty verze 1.2 nebo libovolné vyšší verze publikované nadací Free Software Foundation. Dokument nemá neměnné části ani texty na předním či zadním přebalu. Kopie textu licence je k dispozici v oddíle nazvaném GNU Free Documentation License.
w:cs:Creative Commons
uveďte autora zachovejte licenci
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
Uveďte autora: Jarekt
Dílo smíte:
  • šířit – kopírovat, distribuovat a sdělovat veřejnosti
  • upravovat – pozměňovat, doplňovat, využívat celé nebo částečně v jiných dílech
Za těchto podmínek:
  • uveďte autora – Máte povinnost uvést autorství, poskytnout odkaz na licenci a uvést, pokud jste provedli změny. Toho můžete docílit jakýmkoli rozumným způsobem, avšak ne způsobem naznačujícím, že by poskytovatel licence schvaloval nebo podporoval vás nebo vaše užití díla.
  • zachovejte licenci – Pokud tento materiál jakkoliv upravíte, přepracujete nebo použijete ve svém díle, musíte své příspěvky šířit pod stejnou nebo slučitelnou licencí jako originál.
Můžete si zvolit libovolnou z těchto licencí.

Popisky

Přidejte jednořádkové vysvětlení, co tento soubor představuje

Položky vyobrazené v tomto souboru

zobrazuje

Historie souboru

Kliknutím na datum a čas se zobrazí tehdejší verze souboru.

Datum a časNáhledRozměryUživatelKomentář
současná13. 6. 2007, 20:32Náhled verze z 13. 6. 2007, 20:32600 × 600 (1,78 MB)Jarekt{{Information |Description=Animation GIF file showing iteration of creating Mandelbrot set image |Source=self-made |Date=06/13/2007 |Author= Jarekt }} Image generated using R language and executing the following code: library(caTools) jet

Tento soubor používá následující stránka:

Globální využití souboru

Tento soubor využívají následující wiki: