Page 1 of 1

New Chess Diagram Generator

PostPosted: 20 Jul 2008, 08:50
by webchess
New Chess Diagram Generator has been released.

Chess Diagram Generator is available at http://webchess.freehostia.com/diag/index.php

Many of the parameters are flexibly adjustable (size, piece set, colors etc)

Support for Fischer Random Chess (Chess960) positions


Brief HOWTO:
Image
click image to view in full size, ImageShack

To generate chess diagram follow next steps:
1. Push 'FEN / Fischer' button
2. Enter


2a. Adjust other settings (colors, size, theme etc)
3. Push 'Preview' button
4. Generated diagram will be displayed in the preview
5. FEN code and Direct link for diagram are automatically updated and can be used later


------------------------------------------------------------------------------------------------------------------------

Previews:
***** Preview images are in PNG-format and are shown incorrectly in Internet Explorer version 6 and lower *****

Code: Select all
FEN: 3r2k1/1q1P1ppp/r2R2n1/p4Q2/1ppB2R1/6P1/PP3PP1/6K1 w - - 0 1


With default settings:
Image

Different set of pieces (more sets available)
Image

Different size
Image

Side to move disabled
Image

Adjustable square/coordinates colors
Image

Flip position, another piece set
Image

Basic diagram
Image

Fischer Random Chess
Image

In case of invalid FEN-code (error)
Image


Position setup (drag'n drop) will be available soon

Chess Diagram Generator is available at http://webchess.freehostia.com/diag/index.php

Your comments/suggestions please send to: webchess(at_no-spam)gmail(dot)com

Best regards

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 12:58
by Volker Pittlik
webchess wrote:...
Your comments/suggestions please send to:...


No. I answer here. I don't see any diagram. I use FF3.0. All links lead to an advertisement page. It doesen't look very good. I hope that is a bug.

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 13:12
by Teemu Pudas
Volker Pittlik wrote:
webchess wrote:...
Your comments/suggestions please send to:...


No. I answer here. I don't see any diagram. I use FF3.0. All links lead to an advertisement page. It doesen't look very good. I hope that is a bug.

Same with Opera 9.51.

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 13:24
by David Weller
No images with Safari

Now I see em!

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 13:50
by Teemu Pudas
Nor with IE7.

Starting to look spammy.

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 14:36
by webchess
Volker Pittlik wrote:
webchess wrote:...
Your comments/suggestions please send to:...


No. I answer here. I don't see any diagram. I use FF3.0. All links lead to an advertisement page. It doesen't look very good. I hope that is a bug.


Chess Diagram Generator is available at http://webchess.freehostia.com/diag/index.php
There's no link to advertisement pages. Maybe host is checking for value of referrer, try to copy link address directly into address bar. Preview images have been re-uploaded

Generated diagram for the position above (1st post) can be accessed via link:
http://webchess.freehostia.com/diag/chessdiag.php?fen=3r2k1/1q1P1ppp/r2R2n1/p4Q2/1ppB2R1/6P1/PP3PP1/6K1%20w&size=medium&coord=no&cap=no&stm=no&fb=no&theme=smart&color1=c9c4bb&color2=63605e&color3=63411F

Best regards

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 21:54
by Kurt Utzinger
A chess generator should also give the FEN output
with the diagram.
Kurt

Re: New Chess Diagram Generator

PostPosted: 20 Jul 2008, 22:25
by webchess
Kurt Utzinger wrote:A chess generator should also give the FEN output
with the diagram.
Kurt

Do mean on the diagram like
Image
or just as text on the page (to be easily copied) ? I'll fix it soon.
There's no much space on small diagrams.

Best regards

Re: New Chess Diagram Generator

PostPosted: 21 Jul 2008, 12:07
by H.G.Muller
Can it do 10x8 diagrams, from X-FEN or Shredder-FEN input??

Re: New Chess Diagram Generator

PostPosted: 22 Jul 2008, 07:03
by webchess
No, it can't. Only standard and 960 (Fischer) chess diagrams, but I'll think about the idea.

Re: New Chess Diagram Generator

PostPosted: 27 Jul 2008, 07:25
by webchess
Fixed problems with Internet Explorer versions 5, 6

Re: New Chess Diagram Generator

PostPosted: 27 Jul 2008, 08:12
by H.G.Muller
OK, so I can see it now too. Are you sure valid FRC numbers are from 1-960, and not from 0 to 859? If I type 960 in your generator I get the position that I get when I type 0 in WinBoard, which is clearly the first position you would expect from the algorithm that maps numbers to positions. (It has both Bishops left, and you start with putting down the Bishops.)

Re: New Chess Diagram Generator

PostPosted: 27 Jul 2008, 18:44
by webchess
H.G.Muller wrote:OK, so I can see it now too. Are you sure valid FRC numbers are from 1-960, and not from 0 to 859? If I type 960 in your generator I get the position that I get when I type 0 in WinBoard, which is clearly the first position you would expect from the algorithm that maps numbers to positions. (It has both Bishops left, and you start with putting down the Bishops.)

I've checked Starting position IDs in Chess960 and fixed to accept 0 as first FRC starting position

Re: New Chess Diagram Generator

PostPosted: 04 Aug 2008, 21:10
by Gerd Isenberg
Hi webchess,

thank you for providing this service. It seems a pragmatical way to include diagrams in wikis via external image.
http://chessprogramming.wikispaces.com/The+Nolot+Suite

Cheers,
Gerd

Re: New Chess Diagram Generator

PostPosted: 04 Aug 2008, 21:17
by Olivier Deville
Yes, your tool seems a very good one.

Your contribution is very much appreciated here :wink: Thanks a lot !

Olivier

Re: New Chess Diagram Generator

PostPosted: 05 Aug 2008, 07:31
by H.G.Muller
I made it easier to use WinBoard as a diagram generator. (Not really a competitor to the one announced here, as it targets a completely different niche: not web based, creating a bitmap file on your local computer.) Version 4.3.14 has a menu item to save the current board display as a bitmap file, which can be used as diagram.

Advantage is that it supports all variants support by WinBoard, including deviating board sizes and fairy pieces. So it is ppossible to do 10x8 diagrams, now.

Main drawback is that WinBoard does not really do a very good job in showing the board coordinates.

Re: New Chess Diagram Generator

PostPosted: 08 Apr 2009, 13:14
by webchess
If you don't have FEN-code by your hand, it's possible to enter position using short chess notation. Please use parameter position instead of fen:
Code: Select all
position=W: c3,f3,Kd2,Qe4,Bf2,Rg1 B: b6,e6,Kb7,Qc6,Rc7,Nc5;w
where:
    W: white pieces
    B: black pieces
    w/b optional, side to move (please notice use of semicolon ; )

    pieces are separated by comma (,)
    all other settings (piece set, size, colors etc) remain unchanged
Chess Diagram (white to move):
Image
Code: Select all
http://webchess.freehostia.com/diag/chessdiag.php?position=w:c3,f3,Kd2,Qe4,Bf2,Rg1 b:b6,e6,Kb7,Qc6,Rc7,Nc5;w


Chess Diagram (black to move):
Image
Code: Select all
http://webchess.freehostia.com/diag/chessdiag.php?position=w:c3,f3,Kd2,Qe4,Bf2,Rg1 b:b6,e6,Kb7,Qc6,Rc7,Nc5;b


Chess Diagram with no side to move (some other settings adjusted):
Image
Code: Select all
http://webchess.freehostia.com/diag/chessdiag.php?position=w:c3,f3,Kd2,Qe4,Bf2,Rg1 b:b6,e6,Kb7,Qc6,Rc7,Nc5&theme=solid&color1=d1e6e5&color2=656882&color3=000000


In case of typo:
Image

Best regards

Re: New Chess Diagram Generator

PostPosted: 10 Feb 2011, 20:39
by TrojanHorse
Hello Boys!

I am new to the forum and new to winboard in general, but I found this post and was wondering if there is a newer version out of the Chess diagram generator. I have been playing since my grandpa taught me the rules some years ago now, and am just now getting in to programming with some of my free time so I thought this whole idea looked really cool. If anybody could help navigate me in the right direction it would be greatly appreciated! Thank you so much!

Re: New Chess Diagram Generator

PostPosted: 05 Oct 2011, 07:52
by Garrinso
A new program, Zugzwang para Windows by Manuel López, for making diagrams has been added to the Chess Diagrams Page. It makes diagrams with True Type chess fonts or saves as jpeg. The program is in Spanish and very easy to use.