Bindings for the GLFW library, version 3.x, for Common Lisp.
These bindings have been enhanced with several conveniences, as described in cl-glfw3.lisp.
Direct bindings to all GLFW functions can be found in the system %glfw
glfw-bindings.lisp.
cl-glfw3 is Quicklisp installable! Just type:
(ql:quickload :cl-glfw3)
Running the resulting system requires GLFW version 3.x and libffi to be installed on your computer.
brew install glfw libffi
sudo apt-get install libglfw3 libffi-dev
Examples can be found in the examples directory.
The examples rely on cl-opengl (which Quicklisp will take care of) and require that OpenGL be installed on your computer.
These can be loaded through Quicklisp with:
(ql:quickload :cl-glfw3-examples)
(cl-glfw3-examples:events-example)
(cl-glfw3-examples:basic-window-example)
(cl-glfw3-examples:particles-basic-example)
(cl-glfw3-examples:fragment-shader-example)
The best place to find documentation for GLFW3 is their official site.
At the moment these bindings are largely untested, aside from what can be seen in the examples directory. Contributions are most welcome!