Plain C (ANSI-C) programs
In this section a set of the plain C programs I have written over the years can be found. Though I by now almost entirely have converted to CWEB (which still employs plain C for the actual implementation of the code), I still very much enjoy the compactness that can be achieved with plain C.
The Poincare computer program creates topographic maps of Stokes parameters, visualized as trajectories on the Poincare sphere. The Poincare program generates MetaPost source code as output, to be compiled into PostScript or Encapsulated PostScript, using John Hobby's MetaPost compiler or anything that understands the MetaPost syntax. I originally wrote the Poincare program back in 1997, after which it has been continuously updated and modified. In fact, this is program I keep active in my stock. This program was used in the generation of the image that made it to the front page of issue 4 of J. Opt. A: Pure Appl. Opt., Vol. 2 (July 2000).
This driver provides support for terminal output to the Electronic Assembly DOG-M family of LCD displays, interfacing microcontrollers of the Microchip PIC32 family. The driver supports full ASCII functionality such as carriage return, backspace commands, line wrapping and arbitrary positioning of character output within the display, employing the Parallel Master Port (PMP) of the PIC32.
This document summarizes the steps when creating a new project for the Microchip PIC32 family of microcontrollers, using the MPLAB® IDE. The document summarizes all settings and configurations needed to get a stable project release up and running. The specific example illustrated in this checklist is the driver for the DOGM-163 LCD display, included in the shared library libdogm16x.a.
A program for the extraction of bounding box coordinates of Encapsulated PostScript (EPS) images. This is a home-made successor of the epsbb program which in many older UNIX systems was included in the standard distribution, but evidently not in more recent variants such as Free BSD and Mac OS X.