Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order EarlierEarliest
Diagram Editor with scalable graphics. An easy-to-use tool for drawing boards and pieces of any size and color.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Tue, Dec 19, 2023 03:06 AM EST in reply to Diceroller is Fire from Mon Dec 18 01:28 PM:

I am not sure whether the license allows us to host it here as a general piece set. One of the license conditions is that we have to give credit, and I don't see how this could be done when these pieces are used in, say, an Interactive Diagram.


Diceroller is Fire wrote on Tue, Dec 19, 2023 01:21 AM EST:

Please read it…


Diceroller is Fire wrote on Mon, Dec 18, 2023 01:28 PM EST:

It is possible to add another one graphics set? It is also quite popular (at least it’s used in Musketeer Board Painter). There is actual version of this set called cburnett (invented & drawn by Colin M. L. Burnett, Wikipedia user). Link to zip: /membergraphics/who/CryInto/cburnett-svg.zip. License: CC-BY-SA 3.0


💡📝H. G. Muller wrote on Thu, Nov 30, 2023 01:45 PM EST in reply to Bob Greenwade from 12:01 PM:

Well, if you would have to place ten, it would be a lot faster than what you said.


Bob Greenwade wrote on Thu, Nov 30, 2023 12:01 PM EST in reply to H. G. Muller from 11:18 AM:

From a user-interface standpoint, that's a close second to what I said. (Actually it's in third place, behind ctrl-click on the second icon, but that's neither here nor there. It's still a close pack.)

In fact, if I could use my icon library in that way with the PTA, I'd be over the moon. (I won't be looking forward to that this year or next, though, if ever.)


💡📝H. G. Muller wrote on Thu, Nov 30, 2023 11:18 AM EST in reply to Bob Greenwade from 10:42 AM:

It would be hard, because it interferes with the normal operation of the ID. It would be more natural to add a compound piece to the table, just as the new version of the Play-Test Applet allows you to duplicate a piece in the table, in case you need two types with the same image.

So a way to do it could be this: You select one piece in the table (to be used as front icon, say), and then there is a button 'Combine' above the table. When you press that, the next piece in the table you click will then not be selected, but combined with the already selected piece. And this combo will be inserted just below the piece you were clicking. You can then place that new piece wherever you want, in the normal way.


Bob Greenwade wrote on Thu, Nov 30, 2023 10:42 AM EST in reply to H. G. Muller from 03:19 AM:

Yeah, I definitely can see where it'd take a bit of programming to do something like "place the front icon first, then place the back icon while pressing Ctrl as you click on the space." That's a fairly intuitive way to do it interface-wise, but I'd expect programming it to be a real bear. And while there are plenty of icons and icon combinations in my set that would fit the general rules in the main article, not one of those is represented on my sample board.


💡📝H. G. Muller wrote on Thu, Nov 30, 2023 03:19 AM EST in reply to Bob Greenwade from Wed Nov 29 07:20 PM:

Here's where I wish there was a simple way to make compound icons (rather than entering it all manually)

I don't see an easy solution for that, as the possible number of compound images is overwhelmingly large. So only those that would occur very frequently (such as B-N or R-N) can have their own name, and it was for this that the possibility of drawing compounds was created.

The default.ini file in the SVG directory does allow the definition of set-specific meaning of (dressed) letters in FENs, though. This to iron out different naming unorthodox pieces often have in different sets (e.g. archbishop, cardinal, KnightBishop for the BN piece, which in FEN should be B~ no matter what set is in use). Since you can combine 26 letters with 7 suffixes (' ` " ~ ^ : !) that would still allow you to define a reasonable number of easily accessible custom abbreviations. The problem is always to remember what those mean.


Bob Greenwade wrote on Wed, Nov 29, 2023 07:20 PM EST:

Here's where I wish there was a simple way to make compound icons (rather than entering it all manually)


Bob Greenwade wrote on Sat, Nov 25, 2023 10:13 AM EST in reply to Florin Lupusoru from 01:32 AM:

That's chess for you.

The game isn't about realistic battles. How often do queens and bishops go into battle? Yet we have those in the orthodox game. Among the most popular fairy pieces are Chancellor, Archbishop, and Squirrel. Imported from Shogi, we even have the Kirin and Phoenix, which are mythical beasts. Take in the complete catalog, and there are even nearly a dozen pieces named for -- or even based on -- food items.

Go ahead and lean into the absurdity, or even rename the offending pieces if you prefer.


Florin Lupusoru wrote on Sat, Nov 25, 2023 01:32 AM EST:

This is a great way to visually draw your own board. The only complaint is that most of the pieces included are ridiculous. We are talking about pieces who will never fight in real battles. Why so many animals included? Have you ever seen animals fighting in battles, apart from horses, elephants, camels and bulls? Why not include FARMERS, PEASANTS, and other real life fighters?


💡📝H. G. Muller wrote on Fri, Nov 24, 2023 04:17 AM EST in reply to Fergus Duniho from Thu Nov 23 08:45 PM:

OK, I made #ab5c5c the default color for the black pieces in the Motif and Magnetic set, which in the PNG versions used brighter red.

I also added some buttons to select often used color combos for the board checkering.


🕸Fergus Duniho wrote on Thu, Nov 23, 2023 08:45 PM EST in reply to H. G. Muller from Wed Nov 22 03:14 PM:
Can you also check what would be a reddish color (#xxyyyy with xx > yy) that does render like grey on both Kindle and Likebook?

You might go with #ab5c5c. Here are some tests:

Black text on an ab5c5c background.
ab5c5c text on a black background.
White text on an ab5c5c background.
ab5c5c text on a white background.

Bob Greenwade wrote on Thu, Nov 23, 2023 12:30 PM EST in reply to Fergus Duniho from 11:57 AM:

Once again, you have my thanks. :)

Edit: Somehow, the N2R4 didn't take. I'll see if I can figure out why, and upload it once I do.

Edit #2: Well, it's fine now. So, never mind that part.


🕸Fergus Duniho wrote on Thu, Nov 23, 2023 11:57 AM EST in reply to Bob Greenwade from 11:06 AM:

I've uploaded the corrections I mentioned in what I hope will be the last update to my set for a while.

Okay, that's done.


Bob Greenwade wrote on Thu, Nov 23, 2023 11:06 AM EST in reply to Bob Greenwade from 01:16 AM:

I've uploaded the corrections I mentioned in what I hope will be the last update to my set for a while.

(There are a few that I'll want to modify to make more legible, distinctive, etc., but it'll likely take a while, depending on how busy I can make myself with new entries.)


Bob Greenwade wrote on Thu, Nov 23, 2023 10:28 AM EST in reply to H. G. Muller from 03:12 AM:

The default values for these parameters are 50, 50, 14, 0, and 64. But this changed when I copied the default.ini from Alfaerie to the Greenwade directory, in order to control the default colors. I now changed the clipping parameter back to 64. (Flush the cache to see how this affects the generated images!)

Color me happy. :)

Addendum: Even so, being able to append something like &clip=60 or &shift=15 would probably not be a bad thing, for fine-tuning purposes. That's no rush, though.


💡📝H. G. Muller wrote on Thu, Nov 23, 2023 03:12 AM EST in reply to Bob Greenwade from Wed Nov 22 07:45 PM:

This happens to be what many of the "modifier" icons (Relay, Korean, Ski) are for, so a single icon can yield dozens of pieces.

Such modifier icons are a novel concept; the renderer's feature for creating compound glyphs was originally intended for combining symbols for stand-alone pieces. There is some fine tuning of the combination process that can be controlled by the default.ini file in the folder with the SVG images, like demagnification and shift. The amount that is clipped away of the rear piece might even be one of those. (This was all done so long ago that I am not sure how it worked anymore.) In that case I could disable the clipping entirely for Greenwade. And if not, such a global parameter could be added.

The alternative would be to use different characters for combining with and without clipping. E.g. a + instead of a - for unclipped overwriting.

[Edit] OK, I checked out how it works. The default.ini file contained a line

compound 64 52 0 3 40

to control the combining of icons. The parameters here (all in units of 1/64 times the square size) are horizontal and vertical size of the component images, the horizontal shift between the two, a 'fudge factor', and the part of the rear icon that is shown. They are than renedered such that the rear piece touches the top of the square, and the front piece the bottom. Both would be centered horizontally, irrespective of their horizontal resizing, unless a horizontal shift is specified. (Which would then shift ther rear icon to the right, and the front icon to the left from the central position). The fudge factor has to do with fow much flipped pieces are moved vertically. (If a set clings very much to the bottom of the squares, you don't want the flipped pieces to hang from the top.) The final value describes how much of the rear piece is shown, starting from the top.

The default values for these parameters are 50, 50, 14, 0, and 64. But this changed when I copied the default.ini from Alfaerie to the Greenwade directory, in order to control the default colors. I now changed the clipping parameter back to 64. (Flush the cache to see how this affects the generated images!)

 


Bob Greenwade wrote on Thu, Nov 23, 2023 01:16 AM EST in reply to Fergus Duniho from Wed Nov 22 09:05 PM:

There is already a n2r4.svg file that is newer than N2R4.svg. If I rename it, it will replace the newer file. Would you rather I delete it instead?

Yes, please delete the older one. And many thanks! :)

Addendum: On inspection, it works out that I am having to fix the Boar, Fox, Midnight, and Mongoose icons, and probably n2r4 as well. I'll have that ZIP in the morning.


🕸Fergus Duniho wrote on Wed, Nov 22, 2023 09:05 PM EST in reply to Bob Greenwade from 04:45 PM:

I unzipped Greenwade9.svg, and I deleted wflashbishop.svg, wlittlebuffalo.svg, wpowerqueen.svg, wpushrook.svg, and wrelayknight.svg. There is already a n2r4.svg file that is newer than N2R4.svg. If I rename it, it will replace the newer file. Would you rather I delete it instead?


Bob Greenwade wrote on Wed, Nov 22, 2023 07:45 PM EST:

I'm also seeing that, in compounds, the bottom of the back piece is truncated. I know that that helps with things like camel-queen, but it causes problems for others, like Relay Knight, Foursquare, Korean Pawn, Ski Bishop, etc.

This happens to be what many of the "modifier" icons (Relay, Korean, Ski) are for, so a single icon can yield dozens of pieces.

Maybe there could be a way to toggle this? Especially on a piece-by-piece basis? (Even if it's an inline variable that can follow the icon description.)


Bob Greenwade wrote on Wed, Nov 22, 2023 05:09 PM EST in reply to H. G. Muller from 04:52 PM:

And for the square colors?

While I have a personal preference for black and red, I do understand how that causes problems on certain monochrome devices, so the light and dark browns in the default are fine, or FFDF00 and C19A6B (the piece colors in Hundred Acre Chess) if that doesn't hurt the eyes too badly.

Edit: It turns out 660088 is too dark. Try 8000FF instead.


💡📝H. G. Muller wrote on Wed, Nov 22, 2023 04:52 PM EST in reply to Bob Greenwade from 04:45 PM:

@H.G.: The pink and green colors you show here are ones I specifically chose for Zwangkrieg. More appropriate defaults would be F9F9F9 and 660088.

And for the square colors?


Bob Greenwade wrote on Wed, Nov 22, 2023 04:45 PM EST:

@H.G.: The pink and green colors you show here for my icons are ones I specifically chose for Zwangkrieg. More appropriate defaults would be F9F9F9 and 660088.

Also, the wildebeest should be the gnu; that's what I made it for.

And don't forget the H for hawk, E` for modernelephant, C` for wizard (and not just "moon"), B: for ballista, and G! for griffin! :)

@Fergus: Please put in my latest update; rename n2r4 to lower-case; and delete the Flash Bishop, Little Buffalo, Power Queen, Push Rook, and Relay Knight. (Those and the Bowman were meant as placeholders; the Bowman can stay because it actually looks OK.)

I might have to follow up with fixes for the n2r4 and midnight icons, which aren't showing color changes, but I'd like to see how what I sent manages before I try it (and it'll just be one or both of those two).


🕸Fergus Duniho wrote on Wed, Nov 22, 2023 03:34 PM EST in reply to H. G. Muller from 03:14 PM:

the directory /graphics.dir/svg/Greenwade is owned by root

I changed the owner to chessvariants.

Can you also check what would be a reddish color (#xxyyyy with xx > yy) that does render like grey on both Kindle and Likebook?

I'll look into that some more after I update the Diagram Designer to work better on a mobile device.


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.