vg
Declarative 2D vector graphics for OCaml
Description
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.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 28 May 2020
- Authors
- Maintainers
Sources
Dependencies
js_of_ocaml-ppx
>= "3.6.0"
js_of_ocaml-compiler
>= "3.6.0"
js_of_ocaml
>= "3.6.0"
gg
>= "0.9.0"
topkg
build
ocamlbuild
build
ocamlfind
build
ocaml
>= "4.03.0"
Reverse Dependencies
Conflicts