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, Cairo 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, the Cairo renderer depends on cairo2. Vg and its renderers are distributed under the ISC license.
Tags | pdf svg html-canvas cairo declarative graphics org:erratique |
---|---|
Author | The vg programmers |
License | ISC |
Published | |
Homepage | https://erratique.ch/software/vg |
Issue Tracker | https://github.com/dbuenzli/vg/issues |
Maintainer | Daniel Bünzli <daniel.buenzl i@erratique.ch> |
Dependencies |
|
Optional dependencies | |
Conflicts | |
Source [http] | https://erratique.ch/software/vg/releases/vg-0.9.4.tbz sha256=5359d15d9b2055b538939057b0112c5a5cfea5c65e54f2f89645e65ea8f93aa0 md5=87e3624672af90b9b7960d2102f9bd71 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/vg/vg.0.9.4/opam |
Required by
- biotk
- hardcaml-bloop
- learn-ocaml>=0.13.0
- learn-ocaml-client>=0.13.0
- rtreewith-test