View on GitHub


Documenting everything about OCaml




  • Wall: Vector drawing library using OpenGL as the backend.
  • archimedes: 2D plotting library.
  • cairo2: Bindings to Cairo, a 2D Vector Graphics Library. Integrates well with lablgtk.
  • Vg: Declarative 2D vector graphics for OCaml.
  • imagelib: Read and write various image formats. Backed by BigArrays.
  • owl_base: Part of Owl. This is essential for manipulating BigArrays efficiently (with vectorized operations), for graphics and such.
  • camlimages: Image manipulation library for different image formats.


  • tgls: Thin bindings to OpenGL 3.{2,3},4.{0,1,2,3,4} and OpenGL ES {2,3}. This is the recommended library for OpenGL support in OCaml.
  • glMLite: OpenGL bindings for OCaml. Provides an experimental functional API.
  • lablgl: Interface to OpenGL and GLUT, a simple framework for creating simple applications with OpenGL.
  • glfw-ocaml: Bindings to GLFW, an OpenGL library providing OS-specific functionality, such as window, surface and input management.
  • ocaml-glfw: Another library with bindings to GLFW.

Linear Algebra

  • Owl: Numerical library, useful for fast linear algebra operations. See the Owl Manual for details.
  • reason-gl-matrix: Bindings to glm, the OpenGL linear algebra C++ library for graphics.

Functional Reactive Programming