Tile Wrapper for Python:

Tile Wrapper:  This is a wrapper for the Tcl/Tk Tile package.  Tk is generally viewed as the standard GUI module for Python, and the Tile package updates the appearance to match the standard for the operating system.

The demo app shown on the right shows the basic use of the package.  This differs from the wrappers provided by Thoorens and Franklin/Walzer in that it overrides the standard dialog icons (pictured), provides for new functionality and provides status bar and throbber complex widgets.  (102kb zipped, 2,000 lines of code, Python required)

 

 

 

 

Scientific Calculator:

Scientific Calculator:  A simple calculator that provides common scientific calculations, conversions and constants. This uses HP style "reverse" data entry, which is more amenable to scientific uses.  Source file here.  (190kb zipped, 2,500 lines, 1040 lines of code, Tcl/Tk required)

 

 

 

DeskCal:

Desktop Calendar:  A small picture calendar and email checker written in TCL/Tk for windows.  This software is provided as freeware.  It displays a series of pictures as a slide show, daily, weekly or monthly changing image.  Two skins are included: Scenic (pictured) and Red on Black. (18Mb zipped, 2,500 lines of code, Tcl/Tk required)

 

 

Additional Skins:

Insects Skin:  A calendar skin with 71 images of various insects. (36Mb zipped, DeskCal required)

 

NASA Skin:  A calendar skin having 181 NASA and space related images. (63Mb zipped, DeskCal required)

 

Aircraft Skin:  A calendar skin comprising 108 images of various aircraft (airplanes, blimps, helecopters). (47Mb zipped, DeskCal required)

 

 

Utilities:

The calendar images use for DeskCal are created using GIMP from stock wallpaper images.  The gimp batch script and bash shell script used to call gimp for the entire set of files at once are provided below.

genDeskCal: Bash shell script used to call gimp.

deskCal.rc: A companion to the genDeskCal script.  This file would be edited and placed with the source images to provide unique parameters for a given image set.

DeskCal_Batch.scm: Gimp batch script.  Place this script in your $HOME/.gimp2-4/scripts directory.  This script will also work fine in MS Windows, in which case it would be placed in C:\Documents and Settings\<username>\.gimp-2.4\scripts.  For this script, you will provide a length and width for the output image.  The dimensions will optionally be rotated, for instance if the image is oriented portrait but the dimensions would be landscape, then the width and length are interchanged so the image will be the same dimensions but still oriented portrait.  The script then scales the image to fit those dimensions, clips whatever remains centered, rounds the corners, adds a bevel and a drop shadow.  A glass effect is also provided by rotating the image so that the bright bevel edge appears at the bottom and dark bevel edge at the top.

Note that in windows, the command.com terminal window is not used by gimp for output, but rather a separate console terminal window is spawned each call (each image that is converted).  That means that in Windows you will be forced to tend the process and dismiss the console for each run with a key press. 

 

 

Fast Fourier Transform:

The standard FFT was written by Brenner in 1967 in Fortran and ported for the most part without change or modernization into C, Pascal, etc.  This version cleans up the code slightly by replacing the multiplexed real and imaginary arrays with complex structures and C macros to clarify the complex operations. 

Source (FFT.c)

Include (FFT.h)