Page 6 of 6

Re: HTML+JavaScript diagram builder

Posted: Thu Jul 04, 2013 5:06 pm
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]

Re: HTML+JavaScript diagram builder

Posted: Thu Jul 04, 2013 9:55 pm
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!

Re: HTML+JavaScript diagram builder

Posted: Thu Jul 04, 2013 10:58 pm
by Boidhre
I forgot to say thank you for this. It's extremely helpful as a time saver, excellent work.

Re: HTML+JavaScript diagram builder

Posted: Sat Aug 17, 2013 8:14 pm
by cyclops
I like your tool very much. Thx! It would be nice if killed stones would be removed automatically in followup diagrams.

Re: HTML+JavaScript diagram builder

Posted: Thu Aug 22, 2013 3:30 am
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).

Re: HTML+JavaScript diagram builder

Posted: Tue Jan 06, 2015 7:14 am
by Uberdude
Herman, your website seems to be broken. I miss your wonderful diagrammer...

Re: HTML+JavaScript diagram builder

Posted: Tue Jan 06, 2015 8:03 am
by HermanHiddema
Yes, sorry, server trouble! I will try to restore it ASAP.

EDIT: It's back!