Misc

Misc contains miscellaneous utility functions.

Color

Color contains the color type and utilities for manipulating colors.

Paint

Paint contains the paint type and utilities for manipulating paints.

Math

Math contains standard mathematical functions, trignometric functions, operations on angles, vectors, and operations on vectors.

Bezier

Bezier contains the Bezier.t type, which stores information about a cubic Bezier curve, and functions for creating and manipulating Bezier curves.

Shape

Shape contains the Shape.t type and utilities for creating and manipulating shapes.

Key

Key contains preset key values for config's key and key_unicode fields.

Config

Config contains the config type, used for providing configuration and input information to the sketch, and utility functions for accessing information from a config.

Renderer

Renderer contains the renderer interface and types for events and display settings.

Graph

A renderer using the OCaml Graphics library.

Gtk_cairo

A renderer using GTK+/cairo2.

Sketch

Sketch contains the sketch interface and the base implementation.

Runner

Runner contains code for running sketches.

P5

P5 is the main entrypoint to p5ml.