• en

vg

Declarative 2D vector graphics for OCaml

Vg is an OCaml module for declarative 2D vector graphics. In Vg, images are values that denote functions mapping points of the cartesian plane to colors. The module provides combinators to define and compose these values.

Renderers for PDF, SVG and the HTML canvas are distributed with the module. An API allows to implement new renderers.

Vg depends only on Gg. The SVG renderer has no dependency, the PDF renderer depends on Uutf and Otfm, the HTML canvas renderer depends on js_of_ocaml. Vg and its renderers are distributed under the BSD3 license.

Author Daniel Bünzli <daniel.buenzli i@erratique.ch>
License BSD3
Homepage http://erratique.ch/software/vg
Maintainer Daniel Bünzli <daniel.buenzl i@erratique.ch>
Tags pdf, svg, html-canvas, declarative, graphics and org:erratique (after 0.8.0)
OCaml >= 4.01.0 (after 0.8.0)

Events

Aug 24, 2014

Published version 0.8.1

Oct 11, 2013

Published version 0.8.0