vgversion

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.

Tags pdf svg html-canvas declarative graphics
AuthorDaniel Bünzli <daniel.buenzli i@erratique.ch>
LicenseBSD-3-Clause
Published
Homepagehttp://erratique.ch/software/vg
MaintainerDaniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
Optional dependencies
Conflicts
Source [http] http://erratique.ch/software/vg/releases/vg-0.8.0.tbz
sha256=9f1894c0677e780b022e4a6fea885daf9bbcb463c5c02b2f8b58fce770e28f45
md5=d414ef6171f5a44048a4884542bd8ba9
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/vg/vg.0.8.0/opam
Required by