Check out Atomic Chess, our featured variant for November, 2024.


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

Single Comment

Grand Apothecary Chess-Modern. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Fri, May 7, 2021 02:50 PM UTC in reply to Greg Strong from 01:23 PM:

It would be nice if the interactive diagram could be given a "zoom" setting like the diagram designer has.

This would be possible only if we use the SVG images directly in the diagram, or when the diagram would directly use the SVG renderer. The latter is obviously already possible, as it is what the diagram editor does: this is based on the normal diagram with the graphicsDir set to the URL of the renderer. But the render is off-site, and so far Fergus did not manage to compile it on the CVP server due to CentOS - Ubuntu differences. So this is not recommended.

As to directly using the SVG: I am not sure if all browsers can do that. Perhaps by now they can. In that case the HTML specifying the image can specify the desired size, and I could have the diagram script include the size specifier. But there would not be any color subsitutions; no way HTML or browsers are going to do that. So it would require the SVGs to be available in both colors. I suppose this is easy to achieve with an edit script.

It won't solve Aurelian's problem, though, which is that the PNG / SVG alfaerie set does not yet cover everything that is available as GIF.

What is wrong with displaying the text in the browser at 80%?

@Aurelian: scaling the raster images makes them more ugly, and the GIF set is quite ugly to begin with. Its use should be discouraged even when no scaling is necessary / desired. Anyway for Grand Apothecary Modern all pieces you need are available, not?

@Greg: We really should continue expanding the SVG set. Perhaps on a demand basis. If Aurelian just needs two or three new images, it would not be that much effort to create those.