class DE::MengerSponge

Defined in:

distance_estimatables/fractals.cr

Constructors

Instance Method Summary

Instance methods inherited from class DE::DistanceEstimatable

distance_estimate(pos : Point) : Float64 distance_estimate

Constructor Detail

def self.new(iterations = 4, scale = 3.0, offset = Vector.one) #

[View source]

Instance Method Detail

def distance_estimate(pos) #

[View source]
def iterations : Int32 #

[View source]
def iterations=(iterations : Int32) #

[View source]
def offset : Vector #

[View source]
def offset=(offset : Vector) #

[View source]
def scale : Float64 #

[View source]
def scale=(scale : Float64) #

[View source]