What are fractals?
A fractal is a rough or fragmented geometric shape that can be subdivided in parts, each of which is a reduced-size copy of the whole.
Note: The word "fractal" comes from a Latin word that means "broken" or "fractured."
The concept of fractals is quite fascinating as it showcases the infinite complexity that can be produced from the simple and repetitive procedures. These are suitable for modeling various natural phenomena like terrains, plants, clouds, and feathers.
Classification of fractals
Fractals can be categorized based on their properties as follows.
Self-similar fractals
Contains parts that are scaled-down version of the entire object.
A tree with branches that resemble small versions of the tree itself is a good example of self-similar fractals.
Self-affine fractals
Have parts that are formed with different scaling parameters in different coordinate directions.
Examples include terrain, water, and clouds.
Invariant fractal sets
Such fractals are formed with non-linear transformations.
Examples include self-squaring Mandelbrot set.
Dimensions
Understanding dimensions in the context of fractals is essential as it helps to understand the complex nature of fractals. Considering dimensions help us to figure out the procedural generation, scaling, and the categorization of fractals.
In the context of fractals, two types of dimensions are important.
Topological dimension
It is the traditional concept of dimension that commonly refers to the geometric objects. It refers to the whole number dimension of an object based on its physical space. It is denoted by
A line has a
of . A square has a
of . A cube has a
of .
Similarity dimension
Similarity dimension (
Where,
is the number of copies is the scaling factor
Example
Consider breaking down an object into
For a line, if we reduce its size by a factor of 2 (
), we get copies.
For a squaure, if we reduce its size by a factor of 2 (
), we get copies.
For a cube, if we reduce its size by a factor of 2 (
), we get copies.
Note: A fractal is any curve for which the similarity dimension is higher than the topological dimension.
Koch's curve
The koch's curve is defined recursively as follows.
Here,
Each line segment is replaced by
smaller ones which are one third ( ) of the size of the original line segment.
The next iteration is given below.
Similarity dimension for this curve is calculated as given.
Note:
The koch's curve is:
Discontinuous everywhere
Infinitely long
L-systems
Lindenmayer systems (or L-systems) are a parallel rewriting system that are mostly used to model the plant growth and natural phenomena.
L-systems have found extensive applications in computer graphics, art, and the generation of fractal patterns.
L-systems and fractals
L-systems are linked to fractals by their ability to generate self-replicating patterns.
When used, L-systems can generate the branching structure of trees, the arrangement of leaves, and the shapes of flowers.
Such structures exhibit self-similarity in which smaller parts of the plant resemble the whole plant.
Example
Consider the following fractal.
Start:
Variables:
Constants:
Rules: (
)
Where,
means "draw forward" means "turn right " means "turn left "
Note: Visit Fractal lab to see interesting examples of fractals.
Demonstration
Overall, fractals, with their infinite complexity but self-similarity, offer an immersive representation of various geometric structures.
Free Resources