A collection of Haskell examples / experiments written as IHaskell notebooks.
These exaples levarage the random-fu library for seeded randomization and the diagrams library for drawing.
- Basic Usage - Basic usage of the diagrams and random-fu libraries.
- Stack v1 - A first approach to generating art, based on random evolutions.
- Stack v2 - A second approach I have just begun working on, utilizing a monad transformer stack simulating a changing environment with unchanging laws.
- Stack v3 - A third approach will use mtl typeclasses to separate generation and drawing effects. Other methods I want to investigate include:
- Using either typeclasses or extensible records to allow passing type-checked composable configuration data through reader.
- Indroducing other environment data structures so that each artist can add their own state as needed.