lambdacube3d / lambdacube-workshop

LambaCube 3D workshop at LambdaConf 2017
10 stars 2 forks source link
example functional-programming gpu graphics-3d haskell lambdacube

LambdaCube 3D Workshop

Gitter chat

To get an overview of LambdaCube 3D watch the showcase presentation video.

To prepare for the workshop read the following steps

Requirements

Setup Development Environment

  1. Install Haskell Stack by following it's simple install manual.
  2. On Linux install the following libraries. i.e. on Ubuntu:

    sudo apt install libgl1-mesa-dev libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev zlib1g-dev

    For other Linux distributions make sure the corresponing packages are installed.

    These libraries required for OpenGL development.

Run the sample project

Checkout the this repository then run the following commands to check your setup.

cd hello
stack setup
stack build
stack exec hello

On success you should see this.

Slides

lc-workshop.html

Run asteroids

cd asteroids
stack setup
stack build
stack exec asteroids