|
|
|
|
|
| Description |
| Functions for drawing an LSystem in a window.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| drawSystem :: Int -> LSystem -> IO () |
| Draw an LSystem of the given degree in a window.
This is the main drawing function.
|
|
| animateAngle :: Int -> Float -> LSystem -> IO () |
| Like drawSystem, but animate the picture by increasing the angle step for each frame.
|
|
| animateAngleScaled :: Int -> Float -> LSystem -> IO () |
| Like animateAngle, but also scale the picture so every frame fills up the whole window.
|
|
| renderSystemScaled :: Int -> LSystem -> Picture |
| Convert an LSystem to a picture then scale it to it fills up the whole
window when we draw it on the screen.
|
|
| renderSystem :: Int -> LSystem -> Picture |
| Convert an LSystem to a picture.
|
|
| stripPoints :: Picture -> [Point] |
| Strip out all the points present in a picture.
|
|
| pictureBounds :: Picture -> Point |
| Get the maximum X and Y values present in any point in this picture.
|
|
| Produced by Haddock version 0.7 |