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.
Fractals can be categorized based on their properties as follows.
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.
Have parts that are formed with different scaling parameters in different coordinate directions.
Examples include terrain, water, and clouds.
Such fractals are formed with non-linear transformations.
Examples include self-squaring Mandelbrot set.
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.
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
A square has a
A cube has a
Similarity dimension (
Where,
Consider breaking down an object into
For a line, if we reduce its size by a factor of 2 (
For a squaure, if we reduce its size by a factor of 2 (
For a cube, if we reduce its size by a factor of 2 (
Note: A fractal is any curve for which the similarity dimension is higher than the topological dimension.
The koch's curve is defined recursively as follows.
Here,
Each line segment is replaced by
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
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 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.
Consider the following fractal.
Start:
Variables:
Constants:
Rules: (
Where,
Note: Visit Fractal lab to see interesting examples of fractals.
Overall, fractals, with their infinite complexity but self-similarity, offer an immersive representation of various geometric structures.