lprez / FWGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FWGL

Note: This is abandoned. The graphics part of the project became Ombra.

FWGL

Installing

    # 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.

Examples

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.

Multiple windows

TCP (GLFW only)
Custom inputs, IO output.

About


Languages

Language:Haskell 100.0%