packages feed

elerea-examples-1.2.0: elerea-examples.cabal

Name:                elerea-examples
Version:             1.2.0
Cabal-Version:       >= 1.2
Synopsis:            Example applications for Elerea
Category:            reactivity, FRP
Description:

  Example applications for Elerea. They are factored out into their
  own package so as to avoid unnecessary dependencies in the
  library. Check out the @doc@ directory for the colourful literate
  sources.
  .
  The programs included are the following:
  .
  * chase: a minimal example that demonstrates reactivity and mutually
    recursive signals
  .
  * breakout: a not too fancy breakout clone that also demonstrates
    Graphviz output; you can get an SVG rendition of the signal
    structure with the following command if Graphviz is installed:
    @elerea-breakout --dump-dot | dot -Tsvg -o breakout.svg@
  .
  * bounce: an example for creating dynamic collections of signals
    with the experimental interface; left click to create balls, drag
    existing balls with left button to propel them and drag with right
    to select balls for deletion (upon release)

Author:              Patai Gergely
Maintainer:          Patai Gergely (patai@iit.bme.hu)
Copyright:           (c) 2009, Patai Gergely
License:             BSD3
License-File:        LICENSE
Stability:           experimental
Build-Type:          Simple
Extra-Source-Files:
  src/Common/Vector.lhs
  src/Common/Utils.lhs

  src/Bounce/Event.hs
  src/Bounce/Math.hs
  src/Bounce/Util.hs
  src/Bounce/Vector.hs

  doc/Breakout.html
  doc/Breakout.png
  doc/Chase.html
  doc/hscolour.css
  doc/Makefile

  README

Executable elerea-bounce
  Executable:        elerea-bounce
  HS-Source-Dirs:    src/Bounce
  Main-IS:           Main.hs
  Build-Depends:     base >= 3 && < 5, elerea >= 1.2, OpenGL, GLFW >= 0.4
  GHC-Options:       -O2

Executable elerea-breakout
  Executable:        elerea-breakout
  HS-Source-Dirs:    src
  Main-IS:           Breakout.lhs
  Build-Depends:     base >= 3 && < 5, elerea >= 1.0, OpenGL, GLFW >= 0.4
  GHC-Options:       -O2

Executable elerea-chase
  Executable:        elerea-chase
  HS-Source-Dirs:    src
  Main-IS:           Chase.lhs
  Build-Depends:     base >= 3 && < 5, elerea >= 1.0, OpenGL, GLFW >= 0.4
  GHC-Options:       -O2