Abstract

Fractal is a geometrical shape with property that each point of the shape represents the whole. Having this property, fractals procured the attention in computer graphics, engineering, biology, mathematics, physics, art, and design. The fractals generated on highest priorities are the Julia and Mandelbrot sets. So, in this paper, we develop some necessary conditions for the convergence of sequences established for the orbits of M, , and K-iterative methods to generate these fractals. We adjust algorithms according to the develop conditions and draw some attractive Julia and Mandelbrot sets with sequences of iterates from proposed fixed-point iterative methods. Moreover, we discuss the self-similarities with input parameters in each graph and present the comparison of images with proposed methods.

1. Introduction

The Latin word fractal (means fractured, divided, or broken) is commonly used for an image having the property of self-similarity in complex graphics [1]. Fractals have many applications in social sciences and engineering. In computer engineering, fractals are used to establish the security system, computer networking, image encryption, image compression, and cryptography [2]. In biology, fractals are used to study the culture of microorgans, nerve system, etc. [3]. In physics, fractals are used in fluid mechanics to understand the nature of fluids and their properties. Fractals are used in electrical and electronics engineering (i.e., in the fabricating of antennae, radar system, capacitors, security control system, radio, and antennae for wireless system) [4, 5]. Moreover, architectural patterns and designs are also fractals [6]. Fractals have application in many other emerging fields [79].

Before the invention of computer, the researchers sketched aesthetic patterns, images, graphs, and geometries manually. The graph of cantor set, Koch snowflake, and Sierpinski’s triangles are the patterns that can be generated manually. In 1918, Gaston Julia and Pierre Fatou defined two complementary sets (i.e., Julia set and Fatou set). But they could not sketch the graphs of Julia set and Fatou set. After the invention of computers, Mandelbrot made it possible to draw the graphs of Julia set with help of computers in 1970. He studied the Julia set for a polynomial , where is a complex variable and is a complex parameter. Mandelbrot presented the characteristics of Julia set in [10] and explained that Julia set had great diversity of aesthetic designs [11]. The Mandelbrot set for , where is a complex variable and is a complex parameter, was discussed in [12]. The images resembled with Julia and Mandelbrot sets for rational and transcendental complex functions were visualized in [13]. Some 4D and 3D fractals for quaternions and bicomplex and tricomplex functions were studied in [14, 15] and [16]. To generalize Julia and Mandelbrot sets, initially Rani et al. used fixed-point theory in the generation of fractals (refer in [17, 18]). Some generalized fractals via explicit fixed-point iterative methods were studied in [1924]. The implicit iterative methods were used to develop convergence criterion for fractals in [2530]. There are many fixed-point methods that can be used for fractal generation [3136].

There are some well-known criterions to generate the fractals such as distance estimator [37], potential function algorithms [38], and escape criteria [39]. In this paper, we use escape criterion conditions to sketch some bewitching Julia and Mandelbrot sets. In this paper, we develop some necessary conditions for the convergence of to generate fractals (i.e., especially for Julia and Mandelbrot sets) via some fixed-point iterative methods. We use proposed conditions in algorithms to sketch Julia and Mandelbrot sets. Furthermore, we present some graphs to compare the images. The influence of input parameters on images is also discussed.

This paper is composed of five sections: Section 2 deals with some basic concepts about fractals and fixed-point iterative methods; in Section 3, we develop some convergence conditions to generate fractals; we establish comparison among Julia sets and Mandelbrot sets via proposed methods in Section 4, and at the end, we conclude this paper in Section 5.

2. Some Basic Concepts

In this section, we discuss some basic concepts.

Definition 1. (Julia set [40]). Let be a complex polynomial with . Then, the set of points in is named as the filled Julia set, when the orbits of the points in does not move to as , i.e.,where is the iterate of . The set of boundary points of is called the simple Julia set.

Definition 2. (Mandelbrot set [41]). The collection of all connected Julia sets is defined as the Mandelbrot set , i.e.,Equivalently, the Mandelbrot set is defined as [42]Since the critical point of is 0, so the authors set as an initial guess. There are many fixed-point iterative methods in literature that can be used to generate fractals. For each method, the authors prove escape criterion to generate fractals. In this paper, we use M, , and K-iterative methods to visualize Julia and Mandelbrot sets. The proposed fixed-point iterative methods are defined as follows.

Definition 3. (M-iterative method [43]). Let be a complex polynomial with . For any , the M-iterative method is defined aswhere and .

Definition 4. (-iterative method [43]). Let be a complex polynomial with . For any , the -iterative method is defined aswhere , and .

Definition 5. (K-iterative method [43]). Let be a complex polynomial with . For any , the -iterative method is defined aswhere , and .
The sequence of iterates defined by (4)–(6) is called the orbit.

3. Convergence Analysis

Here, we prove some convergence conditions (i.e., escape criterion) for complex polynomial , where and via M, , and K-iterative methods, respectively. Without necessary conditions, we cannot generate fractal because the convergence condition is the basic key to run the algorithm. Throughout this section, we use as and , , , and in the following way.

Theorem 1. Let be a complex polynomial with and , where , and . The sequence of iterates for the K-iterative method is defined as follows:where , and . Then, as .

Proof. Because , where , , , , and , then, for first step of the K-iterative method, we haveFor , we haveSince , this yields . Thus, .
For second step of K-iteration, we havewhere . For , we getThus,Since , thenSince and , this yields . Following this, we get and . Therefore,From (12) and (14), we haveIt follows thatThe last step of the K-iterative method isFor , we haveFrom (17),Since and , then , this implies . Thus, there exists positive number such that , which yields . Particularly, . Subsequently, . Hence, as .

Corollary 1. Suppose thatthen the orbit of the K-iterative method escapes to infinity.

Corollary 2. Suppose that andtherefore, there exists such that and as .

Corollary 3. Assume thatfor some . Thus, there exists such that and as .

Theorem 2. Let be a complex polynomial with and , where , and . The sequence of iterates for the -iterative method is defined as follows:where , and . Then, as .

Proof. Because , where , , , , and , then, for first step of the -iterative method, we haveFor , we haveSince , this creates the situation . Thus, .
For the second step of the -iterative method, we havewhere . For , we getThus,Since , thenSince and , this yields .. Following this, we get and . Therefore,From (28) and (30), we haveIt follows thatThe last step of the -iterative method isFor and using (32), we haveTherefore,Since and , then , this implies . Thus, there exists positive number such that , which yields . Particularly, . Subsequently, . Hence, as .

Corollary 4. Suppose thatthen the orbit of the -iterative method escapes to infinity.

Corollary 5. Suppose that andtherefore, there exists such that and as .

Corollary 6. Assume thatfor some . Thus, there exists such that and as .

Theorem 3. Let be a complex polynomial with , where , and . The sequence of iterates for the M-iterative method is defined as follows:where and . Then, as .

Proof. Because , where , , , , and , then, for the first of M-iterative method, we haveFor , we haveSince , this creates the situation . Thus, .
For the second step of M-iteration, we haveFor , we getThus,Since , it follows and . Therefore,In the last step of the M-iterative method, we haveFor , we haveFrom (46),Since , this implies . Thus, there exists positive number such that , which yields . Particularly, . Subsequently, . Hence, as .

Corollary 7. Suppose thatthen the orbit of the M-iterative method escapes to infinity.

Corollary 8. Suppose that andtherefore, there exists such that and as .

Corollary 9. Assume thatfor some . Thus, there exists such that and as .

4. Applications of Fractals

To visualize the fractals, some convergence conditions are required, and actually, these are the main tools to execute the algorithm properly and sketch the desired type of fractals. In literature, the authors fixed maximum number of iterations up to hundred. To check self-similarity and get better results, we fixed the maximum number of iterations at 1000. In this section, we adjust two algorithms: one for the Julia set and other for the Mandelbrot set to generate fractals via proposed methods. We visualize some Julia and Mandelbrot sets for different involve parameters.

4.1. Julia Sets

Julia is known as the pioneer of complex fractals. In this subsection, we sketch some graphs of Julia set at different input parameters. We generate Julia sets for M, , and K-iterative methods by using Algorithm 1 and compare the images of Julia set for proposed methods.

Input:–a complex polynomial, –covered area, , , –involved parameters, with colours.
Output: sketched Julia set.
(1)fordo
(2)–convergence condition for proposed method
(3)
(4)whiledo
(5)  Proposed iterative method
(6)  ifthen
(7)   break
(8)  
(9)
(10) colour with

Example 1. In this example, we present the Julia sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. The graphs in Figures 13 for , , , and are quadratic Julia sets in the orbits of M, , and K-iterative methods, respectively. The images in Figures 1 and 3 are Julia sets resembling Chinese dragon having two repelling fixed points: one is at the right end spiral, and other is in spiral on the left side. The image in Figure 2 is a filled connected quadratic Julia set. The graphs in Figures 46 with , , , and are in symmetry along the x-axis. Each image is a junction of two quadratic Mandelbrot sets having opposite directions but slightly different from each other in shape of bulbs on main body. Now for with , , and , we notice the graphs have quite different shapes, as shown in Figures 79. The images in Figures 7 and 8 resemble the lighting in sky, while the image in Figure 8 has two big and many small spirals.

Example 2. In second example, we visualize some cubic Julia sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. The images in Figures 1012 are like the cubic Douady rabbits. We observe the image in Figure 10 is a smart Douady rabbit, in Figure 11 is a fat Douady rabbit, and in Figure 12 is a relatively weak but more attractive Douady rabbit for cubic complex polynomial. The main body of graphs in Figures 1315 is like a circular saw having three teeth. The curl shape top of each teeth of the main saw is joint with the teeth of small circular saw and so on. Each image in Figures 1315 have a main circular saw-type body with three large saws and six small saws. The saws for M and K methods are sharp, while saw for is blunt. The input parameters are as follows:(i)Figures 1012 have input parameters , (ii)Figures 1315 are ,

Example 3. This example presents some biquadratic Julia sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. The image in Figure 16 has a variety of colours. The images in Figures 1618 are disconnected Julia sets and different in shapes at the same inputs , , , and .

4.2. Mandelbrot Sets

Mandelbrot examined the graph of complex polynomial and observed that the main body of image is a cardioid having a large bulb symmetry along x-axis and two small bulbs symmetry along y-axis. The image of is usually called the classical Mandelbrot set, and it is also called God’s thumb. In this subsection, we sketch some graphs of Mandelbrot set at different input parameters for M, , and K-iterative methods by using Algorithm 2 and compare the images of Mandelbrot set for proposed methods.

Input: –a complex polynomial, –covered area, , –involved parameters, with colours.
Output: sketched Mandelbrot set.
(1)fordo
(2)–convergence condition for proposed method
(3)
(4)–initial guess for
(5)whiledo
(6)  Proposed iterative method
(7)  ifthen
(8)   break
(9)  
(10)
(11) colour with

Example 4. In this example, we visualize some graphs of Mandelbrot sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. The input parameters for the graphs in Figures 1921 are , , and . Figures 1921 are quadratic Mandelbrot sets via M, , and K-iterative methods, respectively. The shapes of bulbs in each image are different. The images in Figures 19 and 20 relatively resemble classical Mandelbrot set, but Figure 21 is slightly different in shape. The main body or primary part of the images contains a large number of bulbs in different sizes, but if we magnify any bulb of image, it reflects the shape of whole image. In the generation of graphs in Figures 2224, we change input parameters and . We observe that, for every method, images are completely different in shapes. Also the graphs in Figures 22 and 24 have input parameters , , and , but the graph in Figure 23 has input parameters , , and . The large bulbs in Figure 23 are like the wings of fish, and also the image covered a large area compared to images in Figures 22 and 24. In Figures 2527, we again change the parameters and as . All images have the same area as but different in shapes primary (i.e., main cardioid) and secondary (i.e., bulbs on cardioid) parts.

Example 5. In this example, we visualize some graphs of Mandelbrot sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. From Figures 2835, we perceive that each image has 2 cardioids, 2 large bulbs, and 4 small bulbs symmetry along y-axis. The shape of bulbs for each iterative method is different. The inputs for each cubic Mandelbrot set are as follows:Figures 2830 input parameters are Figures 3133 input parameters are Figures 3435 input parameters are

Example 6. The last example demonstrates the ochto Mandelbrot sets for a polynomial , where in the orbits of M, , and K-iterative methods, respectively. All images for the graphs in Figures 3638 have the same inputs as , , and . We notice that 7 large bulbs appear on the main body of each ochto Mandelbrot set. The shape of bulbs for each method is also different in images.

5. Conclusions

We analyzed M, , and K-iterative methods in the generation of Julia and Mandelbrot sets. We established some convergence conditions for the orbits of M, , and K-iterative methods, respectively. We used the established convergence conditions in algorithms to sketch some Julia and Mandelbrot sets. Fascinating Julia and Mandelbrot sets were generated for different input parameters and compared the images. We observed that, for each proposed method, image is slightly different in shape from other two methods. Furthermore, we noticed that, for a very small change in any input parameter, the images drastically changed. Moreover, we concluded that the complex graphs of Julia and Mandelbrot sets generated in this research were the application of fractal geometry.

Data Availability

Data are included within this paper.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

All authors have contributed equally.

Acknowledgments

This research was partitively supported by the funds of University of Lahore, Lahore, Pakistan.