package gg
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=22a647a9428c7d6803037a302efa1c329c3493a3cb73f407dd514b947520f233
md5=07911ce33ee68f871a08f98d1712df94
Description
Gg is an OCaml module providing basic types for computer graphics.
It defines types and functions for floats, vectors, points, sizes, matrices, quaternions, axis-aligned boxes, colors, color spaces, and raster data.
Gg is made of a single module, depends on bigarrays, and is distributed under the BSD3 license.
README
Gg — Basic types for computer graphics in OCaml
Release 0.9.1
Gg is an OCaml module providing basic types for computer graphics.
It defines types and functions for floats, vectors, points, sizes, matrices, quaternions, axis-aligned boxes, colors, color spaces, and raster data.
Gg is made of a single module, depends on bigarrays, and is distributed under the BSD3 license.
Home page: http://erratique.ch/software/gg
Contact: Daniel Bünzli <daniel.buenzli at erratique.ch>
Installation
Gg can be installed with opam
:
opam install gg
If you don't use opam
consult the opam
file for build instructions and a complete specification of the dependencies.
Documentation
The documentation and API reference is automatically generated by ocamldoc
from gg.mli
. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
Sample programs are located in the test
directory of the distribution. They can be built with:
ocamlbuild test/tests.otarget
The resulting binaries are in _build/test
:
test.byte
tests the library, nothing should fail.
Dependencies (4)
-
ocamlbuild
build
- base-bigarray
- ocamlfind
-
ocaml
>= "4.01.0" & < "4.06.0"
Dev Dependencies
None
Used by (8)
-
color
>= "0.2.0"
- color-brewery
-
curve-sampling
< "0.2.1"
- hardcaml-bloop
-
learn-ocaml-client
>= "0.13.0"
- opam-graph
-
vg
>= "0.8.1" & < "0.9.5"
- wall
Conflicts
None