In Files

Parent

Methods

Fractals::BurningShip

Michael Michelitsch’s Burning Ship fractal.

Public Class Methods

new(c=Complex(-0.3, -0.5)) click to toggle source

(Not documented)

# File lib/fractals.rb, line 64
    def initialize(c=Complex(-0.3, -0.5))
      super(c, {:p => 2}) do |args|
                            args[:z] = (args[:z].real.abs + sqrt(-1) *
                              args[:z].image.abs)**args[:p] + args[:c]
                          end
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.