fractals - cs.bham.ac.uk · fractals are geometric shapes that model structures in nature. they are...
TRANSCRIPT
![Page 1: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/1.jpg)
Introduction to Natural Computation
Lecture 20
Fractals
Alberto Moraglio
Fractals
![Page 2: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/2.jpg)
Overview of Lecture
• What are Fractals?
• Fractals in Nature
• Classic Fractals
• How Long is the Coast of Britain?• How Long is the Coast of Britain?
• Mandelbrot Set
• Generation of Fractals
• Applications
![Page 3: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/3.jpg)
What are Fractals ?
“Clouds are not spheres, mountains are not cones, coastlines are not circles and bark is not smooth, nor does lightning travel in a straight line.”
Benoit Mandelbrot
Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of which is exactly, or statistically a reduced-size copy of the whole.
Benoit Mandelbrot
![Page 4: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/4.jpg)
Fractal Properties
• Self-similarity
• Fractal dimension
• Iterative formation
![Page 5: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/5.jpg)
Fractals in Nature
Electrical Discharge from
Tesla Coil
![Page 6: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/6.jpg)
Fractals in Nature
Fern grown by natureFerns grown in a computer
![Page 7: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/7.jpg)
Fractals in Nature
Romanesco
(a cross between broccoli and
Cauliflower)
![Page 8: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/8.jpg)
Fractals in Nature
Blood vessels in lungBlood vessels in lung
![Page 9: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/9.jpg)
Classic Fractal - The Koch curve
• One of simplest
fractals
• Start with line• Start with line
• Replace centre 1/3
with 2 sides of ƥ Repeat
Animation: http://classes.yale.edu/fractals/IntroToFrac/InitGen/KochGen.html
![Page 10: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/10.jpg)
Classic Fractal - The Koch Snowflake
• Start with equilateral triangle
• Apply Koch curve to each edgeeach edge
• Perimeter increases by 4/3 at each iteration � ∞
• Area bounded by circle
![Page 11: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/11.jpg)
Classic Fractal - Sierpinski gasket
Animation: http://classes.yale.edu/fractals/IntroToFrac/SelfSim/Gasket.html
![Page 12: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/12.jpg)
Classic Fractals
![Page 13: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/13.jpg)
How Long is the Coast of Britain?
• coastline paradox: the measured length of a stretch of coastline depends on the scale of
measurement
• the measured length increases without limit as the measurement scale decreases
towards zero
Unit = 200 km, length =
2400 km (approx.)
Unit = 50 km, length =
3400 km (approx.)
![Page 14: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/14.jpg)
Dimensions of Objects
• Consider objects in 1,2,3 dimensions
• Reduce length of ruler by factor 1/r
• D is dimension• D is dimension
• N is number of self-similar objects to cover the original object
• Quantity increases by N = rD
• Take logs:( )( )r
ND
log
log=
![Page 15: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/15.jpg)
• using a ruler of length L (green) - total length = 3L
Fractal Dimension of Koch SnowflakeWhen reducing the length
of the ruler by a factor 1/3
(r=3), the number of self-
similar objects (rulers) to
cover the original object is
4 (N=4)
• using a ruler of length L (green) - total length = 3L
• using a ruler of length 3
L (red) - total length = 4L
• using a ruler of length 9
L (blue) - total length =
3
L16
To find the fractal dimension, either plot a graph of log(total length) against log(ruler length) - the gradient is (1-D)
Or ( ) ( ) 26134rND .)log()log(loglog ===
![Page 16: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/16.jpg)
Coastlines and Fractal Dimensions
• Relationship between length of national
boundary and scale size
• Linear on log-log plot
![Page 17: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/17.jpg)
The Mandelbrot set:
the most famous of all fractals?
![Page 18: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/18.jpg)
The Mandelbrot Set
• Explored in 1980s by B. Mandelbrot
• Definition: a point in the plane c (a complex number) is part of the Mandelbrot set (in black) if, when starting with z0 = 0 and applying the iteration z � z 2+c repeatedly, the absolute
0
iteration zn+1 � zn2+c repeatedly, the absolute
value of zn remains small however large n gets.
• In other words, stability of iterated function at c:
– zn+1 � zn2+c
– z0 = 0
– Stable if |z|<2
![Page 19: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/19.jpg)
Self Similarity of Mandelbrot set
• Increasing magnification shows embedded ‘copies’ of main set
• Similar but not identical
• Infinitely complex image produced by an extremely simple formula
![Page 20: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/20.jpg)
The Mandelbrot Monk
• Udo of Achen
• 1200-1270AD
• Nativity scene• Nativity scene
• Discovered by Bob
Schpike 1999
![Page 21: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/21.jpg)
Generation of Fractals
• Initiators and Generators is the simplest
method for producing fractals.
• It is the oldest, dating back 5000 years to
south India.south India.
• Other popular methods:
– Iterated Function Systems
– L-Systems
![Page 22: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/22.jpg)
Initiators & Generators
• One way to guarantee self-similarity is to build a shape by applying the same process over smaller and smaller scales. This idea can be realized with a process called initiators and generators.
• The initiator is the starting shape. • The initiator is the starting shape.
• The generator is a collection of scaled copies of the initiator.
• The rule is this: in the generator, replace each copy of the initiator with a scaled copy of the generator (specifying orientations where necessary).
![Page 23: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/23.jpg)
Initiators & Generators - Examples
Sierpinski gasket Spinning gaskets
Koch curve Fractal trees
![Page 24: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/24.jpg)
Iterated Function Systems
A fractal is generated by the union of rescaled copies of itself, where
the rescaling may be by different amount in different directions.
Transformations: rescaling, translation, reflection, rotation
![Page 25: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/25.jpg)
Iterated Function Systems
![Page 26: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/26.jpg)
Fractal Applications
• Categorization of phenomena using fractal dimension (e.g., coast lines, stock market).
• Simulation of coast lines, stream patterns, surfaces and terrain, etc.
Image compression.• Image compression.
• Art.
• Many more: http://classes.yale.edu/fractals/Panorama/welcome.html
![Page 27: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/27.jpg)
Fractal Simulations
![Page 28: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/28.jpg)
Fractals in Technology
• Fractal
antennae for
radio comms
• Many length
scales �
broadband
![Page 29: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/29.jpg)
Fractals in Art
Visage of War
Salvador Dali (1940)
![Page 30: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/30.jpg)
Fractals in Art
The great wave
Katsushika Hokusai (1930)
![Page 31: Fractals - cs.bham.ac.uk · Fractals are geometric shapes that model structures in nature. They are rough or fragmented geometric shapes that can be subdivided into parts, each of](https://reader034.vdocument.in/reader034/viewer/2022042320/5f0a07347e708231d429aa64/html5/thumbnails/31.jpg)
References
• Flake, Gary W. (1998). The Computational Beauty of Nature: Computer
Explorations of Fractals, Chaos, Complex Systems, and Adaptation.
Cambridge, The MIT Press.
• Mandelbrot, Benoit B. (1983). The Fractal Geometry of Nature.
New York, W. H. Freeman and Company.
• Fractal Geometry @ Yale University: http://classes.yale.edu/fractals/