App-GUI-Cellgraph

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    which the picture is drawn. It helps you also to remember you favorite
    colors and color sets. The panel is divided into five sections by
    horizontal lines. The following paragraphs will describe them from top
    to bottom.

    The first section is for storing and loading complete sets of state
    colors. Just select a set you want to load either in the drop down menu
    or by skipping to it with the buttons '<' and '>'. Below this selector
    you can see a preview of the selected set. It gets loaded by pushing
    "Load". Then you can see the colors in large boxes two sections below
    since there are the currently used colors. If you want to save the
    colors, which are displayed there into the currently selected set push
    "Save". Please keep in mind this will overwrite whatever was there
    before. To prevent this push "New" to save the currently used colors
    into a new set. The name of the new set will be requested via dialog. If
    you type in an already used name it will ask again til the name is
    unique or you press "Cancel". "Del" just deletes the currently selected
    color set.

    The second section from top contains three buttons that are just
    functions calculating new colors based up the colors in the section
    below. The result will be also inserted in the row below. The three
    values beside the buttons are just arguments to the functions. The gap
    in this row is by intention, since both buttons on the left part have
    this one value on the left as argument and the third button on the right
    has the two arguments on the right. "Gray" is the is the simplest
    function, since it produces just a gray gradient from white as (the
    leftmost) color 0 to black, stretching over all currently used states.
    The only argument (dynamics) has the default value of 1, which results
    in a linear gradient. Larger values let it lean to the right and smaller
    to the left - meaning that the difference between the first and second
    color on the left is the largest, becoming smaller and smaller toward
    the left end. "Gradient" does almost the same, but uses the leftmost and
    current (highlighted by arrow) color as input and computes such a
    gradient between them. "Complement" computes complementary colors to the
    currently highlighted and does also fill them into the positions from
    the left most to the current. The two arguments are maximal variation in
    saturation and lightness.

    As already mentioned the third sections displays the currently used
    colors. The left most color represents state 0, the one right beside is
    state 1 and so on. Colored squares with an big *X* below are not
    currently used. (Set the amount of currently used states in the *Global*
    panel.) Any click on a color square will select this color as the
    current one. It gets highlighted by an arrow below and the next sections
    always refer to this current color.

    The fourth section allows you to tweak the current color by changing its
    red, green or blue component (rows *R* *G* and *B*). The next three rows
    are about H(ue) (which color on rainbow), S(saturation) (from grey to
    most colorful) and L(ightness) (black to color to white). In each row
    you can either insert the value numbers directly by double clicking the
    number display and typing it. This value can be incresed or decreased by
    clicking the "+" and "-" buttons or by moving the slider on the right.

    The fifth section works almost like the first. It is a store for single
    colors, that loads or stores the currently highlighted color. The only
    difference is that there is no "New" button, since every saved color
    will always get a new name.

  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. Also a sub menu 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 saving the grin into a image
    file. It can have an arbitrary name - the ending *PNG*, *JPG* or *SVG*
    decides the format. The submenu above sets the image size. Please note
    that if you choose a larger image than shown, a larger grid will be
    computed. If you want larger squares, please change that in the
    settings.

SEE ALSO
    App::GUI::Harmonograph

    App::GUI::Juliagraph

    App::GUI::Sierpingraph

    App::GUI::Spirograph

AUTHOR
    Herbert Breunung (lichtkind@cpan.org)

COPYRIGHT
    Copyright(c) 2022-25 by Herbert Breunung

    All rights reserved. This program is free software and can be used and
    distributed under the GPL 3 licence.



( run in 1.519 second using v1.01-cache-2.11-cpan-e1769b4cff6 )