VectorGraphics is a package to produce SVG 2d and 3d graphics. All usable types are descendents of the type GraphicsObject, and are self-initializing. Coordinates can be entered as vectors in $\mathbb{R}^2$, $\mathbb{R}^3$ or $\mathbb{R}^4$ ($\mathbb{R}^4$ is projective coordinates); alternatively, one can enter them as sequences. With the default perspective matrix, the x axis points to the right, the y axis points up, and the z axis points towards the viewer. All types are option tables, i.e., their arguments are options. There are two types of options: VectorGraphics options, that are symbols (e.g., Radius for circles); and styling options, which are CSS style options, and which are strings (e.g., "fill" for fill color). VectorGraphics does not use units (coordinates are dimensionless). In Standard mode, the graphical objects are not directly visible; to export them to SVG in order to embed them into a web page, use html. In WebApp mode, the graphical objects are shown as output.
This documentation describes version 0.93 of VectorGraphics.
The source code from which this documentation is derived is in the file VectorGraphics.m2. The auxiliary files accompanying it are in the directory VectorGraphics/.
The object VectorGraphics is a package.