Initial commit
This commit is contained in:
commit
9c21bf1d37
10 changed files with 272 additions and 0 deletions
11
app/Main.hs
Normal file
11
app/Main.hs
Normal file
|
@ -0,0 +1,11 @@
|
|||
module Main where
|
||||
|
||||
import Graphics.Gloss
|
||||
|
||||
import Lib
|
||||
import Examples
|
||||
|
||||
main :: IO ()
|
||||
main =
|
||||
display (InWindow "L-System" (200, 200) (10, 10)) black (color white pic)
|
||||
where pic = drawLSystem $ iterateLSystem 5 gosper
|
Loading…
Add table
Add a link
Reference in a new issue