Note: This is abandoned. The graphics part of the project became Ombra.
# GLFW:
cabal install fwgl fwgl-glfw
# JavaScript:
cabal install --ghcjs fwgl fwgl-javascript
Patch for ghcjs/shims#13
If you want to use the GHCJS backend, you need to apply fix.patch in ~/.ghcjs/CURRENT_VERSION/ghcjs/shims/src.
Avoid the obstacles
A simple 3D game.
Shadow mapping
Shadow mapping, point light (the example in the screenshot).
Demo
3D graphics, IO output.
Rectangles
2D graphics.
Distortion
Custom geometry.
3D picking
Render layers.
TCP (GLFW only)
Custom inputs, IO output.