Giter Club home page Giter Club logo

reflex-glfw's Introduction

Pre-release NOTE

reflex-glfw awaits to be released on Hackage:

progress
https://github.com/deepfire/reflex-glfw/milestone/1
post issues here
https://github.com/deepfire/reflex-glfw/issues
general feedback here
deepfire#7

reflex-glfw

https://api.travis-ci.org/deepfire/reflex-glfw.svg?branch=master

What

reflex-glfw is an adapter between Reflex, a Haskell FRP framework and GLFW-b, a set of GLFW bindings.

Where

The home of reflex-glfw is at its Github page: https://github.com/deepfire/reflex-glfw

Reflex 0.5

reflex-glfw depends on a pre-release version of reflex, which means having to jump through extra hoops to use reflex-glfw.

Installing via Nix

By far the easiest and most reliable way to do this is to employ the Nix package manager, which, unless you already have it, has to be installed first, of course:

Building the demo

Once you have Nix installed, building the demo is as easy as:

# First, enter the fixed environment (NOTE: this can take a while):
nix-shell --no-build-output
# ..then, inside the shell:
cabal build
dist/build/reflex-glfw-demo/reflex-glfw-demo

libGL error: unable to load driver: XXX_dri.so

In case you happen upon deepfire#4, at least for nVidia GPUs there’s a semi-automated solution based on https://github.com/deepfire/nix-install-vendor-gl:

git clone https://github.com/deepfire/nix-install-vendor-gl
. ./nix-install-vendor-gl/nix-install-vendor-gl.sh

Screenshot

./screenshot.png

reflex-glfw's People

Contributors

deepfire avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.