nanDECK Version 1.29.1

Hi everyone, there’s a new version of nanDECK with bug fixes and the following new features:

New FRAMETRAIL function

This function creates a new group of frames, taking a list of frames and creating all the frames that connect the center of one frame to the next. The syntax is:

In the flags parameter, you can use: C (at the end a frame is added that connects the last one in the list with the first one), N (a number is added to the name of the created frames), or A (by default, a frame can be created with negative width/height to be used with LINERECT, with this flag the width/height will always be positive, to be used with TEXT. Example:

Added E, T, W, M to COLORCHANGE for edge detection, posterize, twist, and emboss effects

Example of the four effects:

New RANGEAUTO directive

A LABELRANGE is typically used to create a range that identifies cards with a particular value in a sequence. This directive creates all ranges for all values ​​in a sequence. For example:

The automatically created ranges are:

New ICONCASE directive

This directive is used to set the case sensitivity of icon keys used by ICON/ICONS (by default they are case insensitive); it should be used before the first ICON line. Syntax:

The “range” is a set of cards, the switch can be ON (the keys are case sensitive) or OFF (the keys are not case sensitive, i.e. the default).

Added to TRANSFORM directive direction and intensity parameter for brightness

Now in TRANSFORM you can change the brightness of the result by indicating the angle and the variation in the tenth and eleventh parameters. Example (the second image has an angle of 0 and a variation of -30):

Added Q flag to HTMLFONT to use multiple outline colors

The Q flag allows you to use a sequence of colors to indicate multiple outlines in a HTMLFONT line (eleventh parameter). For example:

Added D flag to ICONS and PATTERN directives to use DPI from image

If you add the D flag in the ICONS and PATTERN directives, the size of the icons will be decided based on the DPI of the image.

Added to GAMEICONS function the parameters for the outline color and steps

In the GAMEICONS function, used to create images corresponding to icons from game-icons.net, you can now specify a color in the fifth parameter to add a border of that color, while the sixth parameter specifies the number of border repetitions. Example:

Added flags to MANDALA to use more graphics and different alignments

By default MANDALA uses curves to draw, now there is the 17th parameter that allows you to indicate which object to draw in one or more flags, namely: B (to draw curves, the default), L (to draw straight lines), Q (to draw small squares), P (to draw small circles), X (one of the objects is used randomly), N, E, S, W (with these a radial drawing is not made but a linear drawing that starts respectively from the top, from the right, from the bottom, from the left). Example:

New MAPICONS function

In the 17th parameter of ICONS you can specify frames for the positions of the icons, but it becomes complicated to position them. To get the string with the correct number of spaces before each icon, you can use this function, which transforms a syntax like 01(10)02(5) into a string like ” 02 01″ that is, icon 01 must be in the tenth frame and icon 02 in the fifth (empty frames are indicated by spaces). The syntax is:

The flag indicates which frame coordinates are used: L (letters), N (numbers), P (numbers with leading zeros), C (coordinates, width parameter must also be specified), E (coordinates with letters and numbers, width parameter must also be specified), R (coordinates with letters and numbers reversed, width and height parameters must also be specified). Example:

BGG guild:

https://boardgamegeek.com/guild/454

Discord server:

https://discord.gg/KTjyDBRYWE

Steam link:

https://store.steampowered.com/app/3258490/nanDECK

Liked it? Take a second to support Nand on Patreon!
Become a patron at Patreon!

Leave a Reply