Learn R Programming

Julia (version 1.3.4)

Julia-package: Julia

Description

Generates image data for fractals (Julia and Mandelbrot sets) on the complex plane in the given region and resolution.

Arguments

Author

Mehmet Suzen Maintainer: Mehmet Suzen <mehmet.suzen@physics.org>

Details

Package:Julia
Type:Package
Version:1.1
Date:2014-11-25
License:GPL-3
LazyLoad:yes

References

The Fractal Geometry of Nature, Benoit B. Mandelbrot, W.H.Freeman & Co Ltd (18 Nov 1982)

See Also

JuliaIterate and MandelIterate

Examples

Run this code
# Julia Set
  imageN <- 5;
  centre <- -1.0
  L <- 2.0
  file <- "julia1a.png"
  C <- 1-1.6180339887;# Golden Ration
  image <- JuliaImage(imageN,centre,L,C);
 # writePNG(image,file);# possible visulisation
# Mandelbrot Set
  imageN <- 5;
  centre <- 0.0
  L <- 4.0
  file <- "mandelbrot1.png"
  image<-MandelImage(imageN,centre,L);
 # writePNG(image,file);# possible visulisation

Run the code above in your browser using DataLab