In Files

Parent

Methods

Fractals::Mandelbrot

BenoĆ®t Mandelbrot’s Mandelbrot set fractal.

Public Class Methods

new(c=Complex(-0.65, 0.0)) click to toggle source

(Not documented)

# File lib/fractals.rb, line 83
    def initialize(c=Complex(-0.65, 0.0))
      super(c, {:z => 0, :p => 2})  do |args|
                                      args[:z] = args[:z]**args[:p] + args[:c]
                                    end
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.