MyNixOS website logo
Description

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.

Metadata

Version

0.9.4

License

Maintainers (1)

Platforms (25)

    Darwin
    Linux
Show all
  • aarch64-darwin
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-darwin
  • armv7a-linux
  • armv7l-linux
  • i686-darwin
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • x86_64-darwin
  • x86_64-linux