ruff-0.3.2.1: relatively useful fractal functions

Portabilityportable
Stabilityunstable
Maintainerclaudiusmaximus@goto10.org
Safe HaskellNone

Fractal.RUFF.Mandelbrot.Atom

Description

Mu-atom coordinate and address algorithms.

Synopsis

Documentation

data MuAtom r Source

Mu-atom properties.

Constructors

MuAtom 

Fields

muNucleus :: !(Complex r)
 
muSize :: !Double
 
muOrient :: !Double
 
muPeriod :: !Integer
 

Instances

Eq r => Eq (MuAtom r) 
Read r => Read (MuAtom r) 
Show r => Show (MuAtom r) 

findAtom :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> [FindAtom r]Source

Try to find an atom, providing progress updates.

findAtom' :: [FindAtom r] -> Maybe (MuAtom r)Source

Find the first success in the progress list.

findAtom_ :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> Maybe (MuAtom r)Source

Find an atom from its address.

findAddress :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> [FindAddress r]Source

Try to find an address, providing progress updates.

findAddress' :: [FindAddress r] -> Maybe AngledInternalAddressSource

Find the first success in the progress list.

findAddress_ :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> Maybe AngledInternalAddressSource

Find an address for a mu-atom.

locateSource

Arguments

:: (Floating r, NearZero r, Real r) 
=> Complex r

center

-> Double

radius

-> [Locate r] 

Try to find an atom close to a coordinate, providing progress updates.

locate' :: [Locate r] -> Maybe (MuAtom r)Source

Find the first success in the progress list.

locate_ :: (Floating r, NearZero r, Real r) => Complex r -> Double -> Maybe (MuAtom r)Source

Find an atom close to a coordinate.