Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.41 KB

README.md

File metadata and controls

16 lines (11 loc) · 1.41 KB

#yampa-programming

This very simple 3D scene shows a sphere, which changes its color. The camera is rotating around the sphere and the camera's focus can be moved with the mouse.

You can build it by typing the following in the command line:

ghc --make main.hs -XArrows -odir odir -hidir hidir

It was created using the FRP language Yampa and and the OpenGL-binding for Haskell on an Ubuntu 10.04 VM.

I assume all the code works on Windows / Mac too, but the reason I chose to develop on Ubuntu is simply the easy-to-use cabal program which makes installing packages for GHC a breeze.

Versions and sources of the different packages needed: