/diagrams-gl

OpenGL backend to the diagrams library

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

diagrams-gl

A low level OpenGL backend to the diagrams library. Only works on my own diagrams fork.

This backend only handles the OpenGL commands, it cannot produce anything directly. It either needs another backend (like diagrams-sdl) or for you to handle the OpenGL commands yourself.

3D backend

Currently only supports basic shapes with a single light source and very basic paths.

Text support in the works:

alt text alt text

2D backend

There is currently no support for 2D primitives, but there are plans to do so.