This page last updated
13 December 1997

Yhek's Simple Freize Painter

If this spot is not green you may want to download the latest Tcl Plugin.
This is the simplest of the painters in terms of how it operates. This is the painter to use if you want just a simple horizontal bar in a uniform colour. It can also paint a freize of rectangles. The painter allows you to judge colour, relief and proportions of the line intuitively, without having to write your own code, change, and execute it repeatedly. This makes the process creative.

To "paint" the freize move the sliders and select the radiobuttons. Only one radiobutton can be selected at a time and all the rectangles are given the same border.

The sliders all work independantly and are self explanatory. The maximum values of the lefthand column of sliders alter depending on their combined settings. The maximum number of frames across is dictated by the "Frame Width". This is to prevent the image getting too big for this page. This is also why, when you adjust one slider you may see another slider move.

You can drag a slider along its bar to change the value quickly. You can click once on the bar to move the slider one step in that direction. You can also click on the bar and hold to make the slider move toward the mouse pointer.

The complete tclet code is fully displayed in the text box. You will notice that it reflects every change you make as you paint. When you press the "Save" button this code fragment is saved in your Safe-Tcl temp file directories under the name of "freize.txt". This code fragment can then be copied, as is, into your HTML page.

Because this painter can produce arrays of frames it is tempting to produce complex designs. However this painter was designed to allow you to get simple horizontal rulers simply: the array was just an extension of the single frame.

The colour effect of a freize changes as the borderwidth increases because more of the darker and lighter border shades are seen. This effect can be different for different colours because the border shades selected from the palette may be a little removed from the basic colour. For the same reason a slight change in the colour may not change the border shades. These subtleties will only be of interest to the "colour specialist".


Return to Yhek's Main Tcl Page 1997 nzci@outnet.co.nz
This page hosted by GeoCities Get your own Free Home Page