New Chess Diagram Generator

Here you will find useful links and tricks on how to do special/advanced things under Winboard. Feel free to contribute to this forum.

Moderator: Andres Valverde

New Chess Diagram Generator

Postby webchess » 20 Jul 2008, 08:50

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
Last edited by webchess on 23 Jul 2008, 00:25, edited 5 times in total.
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby Volker Pittlik » 20 Jul 2008, 12:58

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.
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: New Chess Diagram Generator

Postby Teemu Pudas » 20 Jul 2008, 13:12

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.
Teemu Pudas
 
Posts: 124
Joined: 16 Apr 2007, 14:03

Re: New Chess Diagram Generator

Postby David Weller » 20 Jul 2008, 13:24

No images with Safari

Now I see em!
Last edited by David Weller on 22 Jul 2008, 00:47, edited 1 time in total.
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: New Chess Diagram Generator

Postby Teemu Pudas » 20 Jul 2008, 13:50

Nor with IE7.

Starting to look spammy.
Teemu Pudas
 
Posts: 124
Joined: 16 Apr 2007, 14:03

Re: New Chess Diagram Generator

Postby webchess » 20 Jul 2008, 14:36

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
Last edited by webchess on 22 Jul 2008, 12:05, edited 2 times in total.
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby Kurt Utzinger » 20 Jul 2008, 21:54

A chess generator should also give the FEN output
with the diagram.
Kurt
User avatar
Kurt Utzinger
 
Posts: 30
Joined: 26 Sep 2004, 22:05
Location: Switzerland

Re: New Chess Diagram Generator

Postby webchess » 20 Jul 2008, 22:25

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
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby H.G.Muller » 21 Jul 2008, 12:07

Can it do 10x8 diagrams, from X-FEN or Shredder-FEN input??
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: New Chess Diagram Generator

Postby webchess » 22 Jul 2008, 07:03

No, it can't. Only standard and 960 (Fischer) chess diagrams, but I'll think about the idea.
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby webchess » 27 Jul 2008, 07:25

Fixed problems with Internet Explorer versions 5, 6
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby H.G.Muller » 27 Jul 2008, 08:12

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.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: New Chess Diagram Generator

Postby webchess » 27 Jul 2008, 18:44

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
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby Gerd Isenberg » 04 Aug 2008, 21:10

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
Gerd Isenberg
 
Posts: 285
Joined: 31 Jan 2005, 20:31
Location: Hattingen, Germany

Re: New Chess Diagram Generator

Postby Olivier Deville » 04 Aug 2008, 21:17

Yes, your tool seems a very good one.

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

Olivier
User avatar
Olivier Deville
 
Posts: 1176
Joined: 26 Sep 2004, 19:54
Location: Aurec, France

Re: New Chess Diagram Generator

Postby H.G.Muller » 05 Aug 2008, 07:31

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.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: New Chess Diagram Generator

Postby webchess » 08 Apr 2009, 13:14

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
Cogito, ergo sum
webchess
 
Posts: 14
Joined: 20 Jul 2008, 07:23
Location: Finland

Re: New Chess Diagram Generator

Postby TrojanHorse » 10 Feb 2011, 20:39

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!
User avatar
TrojanHorse
 
Posts: 5
Joined: 10 Feb 2011, 19:29

Re: New Chess Diagram Generator

Postby Garrinso » 05 Oct 2011, 07:52

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.
Garrinso
 
Posts: 1
Joined: 03 Oct 2011, 08:08


Return to How To & Useful Links

Who is online

Users browsing this forum: No registered users and 2 guests