Fractal Dimension
- Fractal is a measure of roughness or fragmentation of an object.
- More fractal dimensions in case of more jagged-looking objects.
- Using some iterative procedure, we can calculate fractal dimension D.
Fractals in Computer Graphics
Fractals is a complex picture created using iteration and a single formula. Sometimes, objects cannot be drawn with a given equation or with a given geometry. Examples: mountains, clouds. Their shape cannot be defined so in this case, we use fractals. So these are nothing but natural objects that can be drawn with the help of fractals. Below is an example of a fractal diagram.
Basically, Fractals are used in many areas for its importance such as −
- Astronomy: for the analysis purpose of Saturn’s rings, galaxies, etc.
- Biology/Chemistry: For the purpose of illustrating chemical reactions, human anatomy, molecules, plants, and bacterial cultures.
- Others: For the purpose of representing the required clouds, borders, the coast, data compression, diffusion, economy, fractal music, fractal art, landscapes, special effects, and so forth.
Generation of Fractals
So, repeating the same shape repeatedly can result in fractals. To get the appropriate shape and size, we can iterate indefinitely. Recursion is the computer language term for making such forms as per requirement.
Geometric Fractals
The shapes with non-integer or fractal dimensions that can be found in nature are the main subject of geometric fractals. In order to create a deterministic nonrandom self-similar fractal mathematically, we begin with an initiator, which is basically a predetermined geometric shape. Next, a pattern which is known as the generator is used to replace as per need some of the initiator’s component pieces.