App-GUI-Harmonograph
view release on metacpan or search on metacpan
(G) and *blue* (B) values of the RGB color space. below that are ones of
HSB: *hue*, *saturation* and *lightness*. These are more meaningful to
the human mind. At the right end of each row that shows amd changes one
color value is a button with a question mark. Push that to randomize
this one value.
The last and fifth section is analogous to the first one. It is a store
for your favorite single colors. Just load and safe the currently
selected color via the buttons. Be again cautious with the "Del" button.
Commands
In the lower left corner are two rows of command buttons. All other
commands are in the menu.
The lower left part of the window contains buttons in two rows. The
upper row is just for drawing the complete image. It has a progress bar
and the draw button. If the progress bar is white, you see just a sketch
drawing - a preview of the full image that can be computed fast enought
to react to all setting changes. If you push the draw button (or
<Ctrl>+<S>), you will get a full image and the progress bar has the
color of the drawing and also can show you the color progression over
time, so you can see, which are the early and the later parts of the
drawing.
The second button row is for easy mass production of drawings. The three
text fields are combined the parts of the file path. The first text
field is naturally the directory where the files get saved. You can
change it by pushing the *Dir* in front (left) of the text button and
use the then opening Dir-Dialog to select another directory. The second
text field holds the base file name, which has to be inserted by
clicking on in and typing. The third text field is the file number and
is readonly. That counter increments automatically when a file is
generated. The complete file path is <dir>+<base
name>+'_'+<counter>+<file ending>. The file ending is *.ini* for setting
files and *.jpg* or *.png* or *.svg* for image files. The exact ending
depends on what is the current configuration set in the image > format
menu. Lets say your directory is "/home/user/images/h" and the base file
name is beauty. If there is already a file
"/home/user/images/h/beauty_4.png" - the program will detect that and
set the counter to 5. You can play with the settings and than (no matter
if there is currently a complete drawing or not) push the *Save* button
to produce a complete drawing into "/home/user/images/h/beauty_5.png".
If you push the *INI* button you safe the current settings into
"/home/user/images/h/beauty_5.ini". This file can later be loaded via
settings menu to restore the current state of all buttons in the tabs.
Menu
The upmost menu bar has only three very simple menus. Please not that
each menu shows which key combination triggers the same command and
while hovering over an menu item you see a short help text the left
status bar field.
The first menu is for loading and storing setting files with arbitrary
names. I recommend giving them the file ending ".ini" for transparency
reasons. A submenu allows a quick load of the recently used files. The
first entry lets you reset the whole program to the starting state and
the last is just to exit (safely with saving the configs).
The second menu has only two commands for drawing an complete image and
saving it in an arbitrary named PNG, JPG or SVG file (the file ending
decides). The submenu above only sets the preferred format, which is the
format of the serially save images by the command buttons in the left
lower corner. The preferred file format is also the first wild card in
the save dialog. Above that is another submenu for setting the image
size.
The third menu has only one item to oben the *about* - dialog, where you
can see which perl, Wx and other versions you are currently using.
SEE ALSO
App::GUI::Cellgraph
App::GUI::Juliagraph
App::GUI::Sierpingraph
App::GUI::Spirograph
AUTHOR
Herbert Breunung (lichtkind@cpan.org)
COPYRIGHT & LICENSE
Copyright(c) 2022-25 by Herbert Breunung
All rights reserved. This program is free software and can be used,
changed and distributed under the GPL 3 licence.
( run in 0.791 second using v1.01-cache-2.11-cpan-5837b0d9d2c )