bowntz 0 → 1
raw patch · 3 files changed
+14/−13 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- README +4/−3
- bowntz.cabal +7/−7
- bowntz.hs +3/−3
README view
@@ -1,12 +1,13 @@ Bowntz -- an audio-visual pseudo-physical simulation of colliding circles-Copyright (C) 2010,2013,2015 Claude-Heiland-Allen <claude@mathr.co.uk>+Copyright (C) 2010,2013,2015,2016 Claude-Heiland-Allen <claude@mathr.co.uk> Build ----- - $ cabal sandbox init- $ cabal install+ $ ghc -O2 -Wall --make bowntz.hs++ Bowntz requires hsc3 >= 0.8 (newer than Hackage, as of 2010-03-12). Usage
bowntz.cabal view
@@ -1,12 +1,12 @@ name: bowntz-version: 0+version: 1 synopsis: audio-visual pseudo-physical simulation of colliding circles-homepage: http://code.mathr.co.uk/bowntz+homepage: https://code.mathr.co.uk/bowntz license: GPL-3 license-file: COPYING author: Claude Heiland-Allen maintainer: claude@mathr.co.uk-copyright: 2010,2013,2015 Claude Heiland-Allen+copyright: 2010,2013,2015,2016 Claude Heiland-Allen category: Demo build-type: Simple extra-source-files: README@@ -14,7 +14,7 @@ executable bowntz main-is: bowntz.hs- build-depends: base >=4.8 && <4.9+ build-depends: base >=4.8 && <4.10 , containers >= 0.5 && <0.6 , GLUT >=2.7 && <2.8 , hosc >=0.15 && <0.16@@ -24,9 +24,9 @@ source-repository head type: git- location: http://code.mathr.co.uk/bowntz.git+ location: https://code.mathr.co.uk/bowntz.git source-repository this type: git- location: http://code.mathr.co.uk/bowntz.git- tag: v0+ location: https://code.mathr.co.uk/bowntz.git+ tag: v1
bowntz.hs view
@@ -1,7 +1,7 @@ {- Bowntz -- an audio-visual pseudo-physical simulation of colliding circles- Copyright (C) 2010,2013,2015 Claude-Heiland-Allen <claude@mathr.co.uk>+ Copyright (C) 2010,2013,2015,2016 Claude-Heiland-Allen <claude@mathr.co.uk> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by@@ -20,7 +20,7 @@ import Graphics.UI.GLUT hiding (position) import Sound.OSC-import Sound.SC3 hiding (ID(..), decay, line)+import Sound.SC3 hiding (decay, line, ID) import qualified Sound.SC3 as SC import Control.Monad(forM_, when)@@ -262,9 +262,9 @@ main :: IO () main = do+ (_,_args) <- getArgsAndInitialize initialWindowSize $= Size 788 576 initialDisplayMode $= [RGBAMode, DoubleBuffered]- (_,_args) <- getArgsAndInitialize _ <- createWindow "bowntz" withSC3 (send (g_new [(1, AddToTail, 0)])) -- new group 1 under root 0 group _ <- withSC3 ballSynth