HTML+JavaScript diagram builder

For discussing go computing, software announcements, etc.
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: HTML+JavaScript diagram builder

Post by ez4u »

macelee wrote:Following my previous post and some feedback, I believe after all it is a better idea to generate the diagram code from client side. I have just created a new SGF viewer for Go4Go.net and implemented the "diagram code" in it. See the attached screen captures. I hope this works well and complements the existing works.
...
[*] Generate diagram from pro games: http://www.go4go.net (on any game page)

...

This is amazing and works great on my iPad as well. Very well done. Thanks to everyone involved!
:clap: :tmbup: :clap: :tmbup: :clap:
Click Here To Show Diagram Code
[go]$$B Test diagram on iOS
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . X . . O . . |
$$ | . . . O . . O . . , . . . . . X . O . |
$$ | . . . . . . . . . . . . . . . . X O . |
$$ | . . . O . . . . . . . . . . . X O O . |
$$ | . . . . . . . . . . . . . . X O X . . |
$$ | . . . . . . . . . . . . . . . . X . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . 1 . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , X . . |
$$ | . . . O . . . . . . . . . . X . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Re: HTML+JavaScript diagram builder

Post by fireproof »

HermanHiddema wrote:
ez4u wrote:Still no action on the iPad. The drop-down lists for labels and moves do drop down when touched. However, nothing else on the page reacts, not even the 'show help' tab.


Just to make sure: Did you do a reload on the page? Otherwise it might use a cached version.


It's working very well using Safari on my iPad mini, running iOS 6.1 -- nice job!
Boidhre
Oza
Posts: 2356
Joined: Mon Mar 05, 2012 7:15 pm
GD Posts: 0
Universal go server handle: Boidhre
Location: Ireland
Has thanked: 661 times
Been thanked: 442 times

Re: HTML+JavaScript diagram builder

Post by Boidhre »

I forgot to say thank you for this. It's extremely helpful as a time saver, excellent work.
User avatar
cyclops
Lives in sente
Posts: 801
Joined: Mon May 10, 2010 3:38 pm
Rank: KGS 7 kyu forever
GD Posts: 460
Location: Amsterdam (NL)
Has thanked: 353 times
Been thanked: 107 times
Contact:

Re: HTML+JavaScript diagram builder

Post by cyclops »

I like your tool very much. Thx! It would be nice if killed stones would be removed automatically in followup diagrams.
I think I am so I think I am.
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

cyclops wrote:I like your tool very much. Thx! It would be nice if killed stones would be removed automatically in followup diagrams.


I've been thinking about this, but it isn't easy. From an SGF it is easy, but in diagrams there may be captures that are in the comments (e.g.: :w7: retakes ko) or intersections that have since been filled (e.g. :w5: connects).
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: HTML+JavaScript diagram builder

Post by Uberdude »

Herman, your website seems to be broken. I miss your wonderful diagrammer...
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

Yes, sorry, server trouble! I will try to restore it ASAP.

EDIT: It's back!
Post Reply