POV-Ray license (was Re: 1-10-11 report)

Werner Almesberger werner at openmoko.org
Thu Jan 13 04:42:38 EST 2011

Jane Andreas wrote:
> I would be more interested at this point in finding a 2d graphics program
> that could generate objects based on equations/descriptions.

Hmm, if all else fails, there's always fped. It's designed for drawing
footprints for electronical components, so its set of drawing primitives
is quite limited (line, circle, arc, plus some non-drawing elements. No
color, but you get to choose the line width).

It has a GUI but its file format is intended to be human-friendly and to
allow for non-GUI use. The basic principle is that you define the
geometry using vectors and then connect points with lines, arcs, etc.

In terms of constructive geometry, it only has the concatenation of
vectors. Vectors can do a bit of math, so it can be complemented with
algebraic geometry. Analytic geometry is beyond its scope.

Here's an example:

The design of my lab tables (done with the GUI, so many of the
identifiers are cryptic):

The language is described here:

fped uses Gtk+, but it should be relatively easy to strip the GUI if it
gets in the way. (It already has a .fpd to .ps conversion that doesn't
invoke Gtk+.)

- Werner

More information about the discussion mailing list