Julia set fractals are normally generated by initializing a complex number z = x + yi where i2 = -1 and x and y are image pixel coordinates in the range of about -2 to 2. Then, z is repeatedly updated using: z = z2 + c where c is another complex number that gives a specific Julia set. After numerous iterations, if the magnitude of z is less than 2 we say that pixel is in the Julia set and color it accordingly. Performing this calculation for a whole grid of pixels gives a fractal image. More on this on Numberphile by none other than Dr.Holly Krieger: https://www.youtube.com/watch?v=oCkQ7WK7vuY PS: .pgm formats need 3rd party exe like IrrfanView.
avirupju / juliasets Goto Github PK
View Code? Open in Web Editor NEWJulia sets contain all those complex numbers which remain bounded under a simple recursive quadratic. They are fractals.