ruff-0.4: relatively useful fractal functions

Copyright(c) Claude Heiland-Allen 2011,2015
LicenseBSD3
Maintainerclaude@mathr.co.uk
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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 :: !Int
 

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 AngledInternalAddress Source

Find the first success in the progress list.

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

Find an address for a mu-atom.

locate Source

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.