Maintainer | ch.howard@zoho.com |
---|---|

Safe Haskell | None |

Use the `graph`

function here to generate the raw graph array data based on
various parameters.

# Documentation

:: Int | height (array rows) |

-> Int | width (array columns) |

-> Float | stamped circle radius |

-> Float | jitter factor of walk, usually nearly the same as radius |

-> Int | a seed value for the random number generator |

-> Int | numbers of steps to take in random walk |

-> Float | magnification factor |

-> (Float, Float) | Starting point |

-> IO (UArray (Int, Int) Float) |

Beginning in the center, follows a random walk path, and stamps a circle shape onto the array at each step. Internally uses a mutable unboxed array for efficiency, but returns the results in a frozen array.