Name:                gloss-examples
Version:             1.8.2.1
License:             MIT
License-file:        LICENSE
Author:              Ben Lippmeier
Maintainer:          benl@ouroborus.net
Build-Type:          Simple
Cabal-Version:       >=1.6
Stability:           experimental
Category:            Graphics
Homepage:            http://gloss.ouroborus.net
Bug-reports:         gloss@ouroborus.net
Description:         
	Examples using the gloss graphics library.
        A mixed bag of fractals, particle simulations and cellular automata.

Synopsis:
        Examples using the gloss library

source-repository head
        type:           git
        location:       https://github.com/benl23x5/gloss

Executable gloss-bitmap
  Build-depends:
        base           == 4.7.*,
        bytestring     == 0.10.*,
        bmp            == 1.2.*,
        gloss          == 1.8.2.*
  Main-is: Main.hs
  hs-source-dirs: picture/Bitmap
  ghc-options:    -threaded -O2


Executable gloss-boids
  Build-depends:
        base           == 4.7.*,
        gloss          == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  KDTree2d Vec2
  hs-source-dirs: picture/Boids
  ghc-options:    -threaded -O2


Executable gloss-clock
  Build-depends: 
        base            == 4.7.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Clock
  ghc-options:    -threaded -O2


Executable gloss-conway
  Build-depends: 
        base            == 4.7.*,
        vector          == 0.10.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Cell World
  hs-source-dirs: picture/Conway
  ghc-options:    -threaded -O2


Executable gloss-draw
  Build-depends:
        base           == 4.7.*,
        gloss          == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Draw
  ghc-options:    -threaded -O2


Executable gloss-easy
  Build-depends:
        base            == 4.7.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Easy
  ghc-options:    -threaded -O2


Executable gloss-eden
  Build-depends: 
        base            == 4.7.*,
        random          == 1.0.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Cell Community World
  hs-source-dirs: picture/Eden
  ghc-options:    -threaded -O2


Executable gloss-flake
  Build-depends:
        base            == 4.7.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Flake
  ghc-options:    -threaded -O2


Executable gloss-gameevent
  Build-depends: 
        base            == 4.7.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/GameEvent
  ghc-options:    -threaded -O2


Executable gloss-hello
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Hello
  ghc-options:    -threaded -O2


Executable gloss-lifespan
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*, 
        random          == 1.0.*
  Main-is:        Main.hs
  other-modules:  Cell Community World
  hs-source-dirs: picture/Lifespan
  ghc-options:    -threaded -O2


Executable gloss-machina
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Machina
  ghc-options:    -threaded -O2
 

Executable gloss-occlusion
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*
  Main-is: Main.hs
  other-modules:  Cell World State Data
  hs-source-dirs: picture/Occlusion
  ghc-options:    -threaded -O2


Executable gloss-styrene
  Build-depends: 
        base            == 4.7.*,
        ghc-prim        == 0.3.*,
        containers      == 0.5.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Actor Advance Collide Config Contact QuadTree World
  hs-source-dirs: picture/Styrene
  ghc-options:    -threaded -O2


Executable gloss-tree
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Tree
  ghc-options:    -threaded -O2


Executable gloss-visibility
  Build-depends: 
        base            == 4.7.*, 
        vector          == 0.10.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Draw Interface State World Geometry.Randomish Geometry.Segment
  hs-source-dirs: picture/Visibility 
  ghc-options:    -threaded -O2


Executable gloss-zen
  Build-depends: 
        base            == 4.7.*, 
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Zen
  ghc-options:    -threaded -O2


Executable gloss-crystal
  Build-depends:
        base           == 4.7.*,
        gloss          == 1.8.2.*,
        gloss-raster   == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: raster/Crystal
  ghc-options:    
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3
  extensions:
        PatternGuards
        BangPatterns
        

Executable gloss-ray
  Build-depends:
        base           == 4.7.*,
        gloss          == 1.8.2.*,
        gloss-raster   == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Light Object Trace Vec3 World
  hs-source-dirs: raster/Ray
  ghc-options:    
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3


Executable gloss-pulse
  Build-depends:
        base           == 4.7.*,
        gloss          == 1.8.2.*,
        gloss-raster   == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: raster/Pulse
  ghc-options:
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3


Executable gloss-wave
  Build-depends:
        base           == 4.7.*,
        ghc-prim       == 0.3.*,
        vector         == 0.10.*,
        gloss          == 1.8.2.*,
        gloss-raster   == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: raster/Wave
  ghc-options:
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000


Executable gloss-fluid
  Build-depends:
        base            == 4.7.*,
        ghc-prim        == 0.3.*,
        vector          == 0.10.*,
        repa            == 3.2.*,
        repa-io         == 3.2.*,
        repa-algorithms == 3.2.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  
        Args Config FieldElt Model UserEvent
        Solve.Density   Solve.Velocity
        Stage.Advection Stage.Boundary Stage.Diffusion
        Stage.Linear    Stage.Project  Stage.Sources
  hs-source-dirs: raster/Fluid/src-repa
  ghc-options:
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3
  extensions:
        PatternGuards
        

Executable gloss-snow
  Build-depends
        base            == 4.7.*,
        repa            == 3.2.*,
        gloss           == 1.8.2.*
  Main-is:      Main.hs
  hs-source-dirs: raster/Snow
  ghc-options:
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3


Executable gloss-mandel
  Build-depends
        base            == 4.7.*,
        repa            == 3.2.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  other-modules:  Solver
  hs-source-dirs: raster/Mandel
  ghc-options:
        -Wall -threaded -rtsopts -eventlog
        -Odph -fno-liberate-case
        -funfolding-use-threshold1000
        -funfolding-keeness-factor1000
        -fllvm -optlo-O3
  extensions:
        PatternGuards


Executable gloss-graph
  Build-depends
        base            == 4.7.*,
        containers      == 0.5.*,
        gloss           == 1.8.2.*
  Main-is:        Main.hs
  hs-source-dirs: picture/Graph
  ghc-options:
        -Wall -O2