Skip to content
Demonstration program wiring together Reflex and OpenGL. Presented at Compose Melbourne on 2019-09-02.
Haskell Nix Emacs Lisp GLSL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Move files across from sourcehut Aug 26, 2019
dat
doctest Move files across from sourcehut Aug 26, 2019
nix Move files across from sourcehut Aug 26, 2019
src Move files across from sourcehut Aug 26, 2019
.dir-locals.el
.gitignore Move files across from sourcehut Aug 26, 2019
CHANGELOG.md
LICENCE
README.md Move files across from sourcehut Aug 26, 2019
Setup.hs Move files across from sourcehut Aug 26, 2019
cabal.project
cabal.project.no-sources
default.nix
reflex-gl-demo.cabal
reflex-gl-demo.nix
shell.nix

README.md

Reflex GL Demo

Demonstration program wiring together Reflex and OpenGL. Presented at Compose Melbourne on 2019-09-02.

Building

Cabal

cabal v2-build should fetch and build all necessary dependencies (including a couple of not-yet-on-hackage ones).

cabal v2-run reflex-gl-demo will start the program. WASD moves the camera, and arrow keys control where it points.

Nix

If you use nix, you can enter a shell with all the development tools installed by running nix-shell and waiting a while.

If you are using nix, and you are not using NixOS, you will need to use nixGL to ensure that the program is run against the right OpenGL libraries.

Run cabal v2-build --project-file=cabal.project.no-sources otherwise cabal will try to pull in sources specified in the cabal.project file. Similarly, launch the program with cabal v2-run --project-file=cabal.project.no-sources reflex-gl-demo.

You can’t perform that action at this time.