Mac OS X and Windows executables for generating a Tri-Bahtinov Mask
This zip file contains the Mac OS X and Windows executables
- Mac OS X The executable generate is in the macosx directory.
- Window The executable generate.exe is in the windows directory.
Required dynamic libraries for running generate
I have not bundled the dynamic libraries that are necessary for generate to run. You have to do the following depending on which platform you want to run generate on.
Mac OS X
For Mac OS X, you have to install the cairo graphics libraries by installing
- macports
- and then installing cairo using the following command in a terminal window
sudo port install cairo
The cairo libraries must be installed in /opt/local/lib
Windows
For Windows, you have to install the cairo libraries by downloading the GTK libraries from here. Unzip the files and rename and move the base directory contained in the zip file to c:\GTK.
Using generate
On the command line,
generate
You give the focal length, inner and outer radius of the tribahtinov mask to generate and the following files are created where you run generate:
- tribahtinov.pdf the tribahtinov mask in pdf format
- tribahtinov.png the tribahtinov mask in png format
- tribahtinov.svg the tribahtinov mask in svg format