For developers: Easy ways to render nice stone graphics
- RBerenguel
- Gosei
- Posts: 1585
- Joined: Fri Nov 18, 2011 11:44 am
- Rank: KGS 5k
- GD Posts: 0
- KGS: RBerenguel
- Tygem: rberenguel
- Wbaduk: JohnKeats
- Kaya handle: RBerenguel
- Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
- Location: Barcelona, Spain (GMT+1)
- Has thanked: 576 times
- Been thanked: 298 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
Oh crap, now I want to add this to my edited sgftopng. I still remember a "hack" in Bing maps a few years ago: Napkin-drawing maps. It was a lovely idea, like XKCD styled graphs 
Geek of all trades, master of none: the motto for my blog mostlymaths.net
- RBerenguel
- Gosei
- Posts: 1585
- Joined: Fri Nov 18, 2011 11:44 am
- Rank: KGS 5k
- GD Posts: 0
- KGS: RBerenguel
- Tygem: rberenguel
- Wbaduk: JohnKeats
- Kaya handle: RBerenguel
- Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
- Location: Barcelona, Spain (GMT+1)
- Has thanked: 576 times
- Been thanked: 298 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
Imagemagick's MVG format does not have proper "close" for bezier-defined paths, so it was either leaving it as it is now or changing too many commands into paths. So, for now I'm happy with the results (well, I'm not, but I'll think I am for a while.) Generated with yet another option of my version of sgftopng, -wiggle.
Geek of all trades, master of none: the motto for my blog mostlymaths.net
- RBerenguel
- Gosei
- Posts: 1585
- Joined: Fri Nov 18, 2011 11:44 am
- Rank: KGS 5k
- GD Posts: 0
- KGS: RBerenguel
- Tygem: rberenguel
- Wbaduk: JohnKeats
- Kaya handle: RBerenguel
- Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
- Location: Barcelona, Spain (GMT+1)
- Has thanked: 576 times
- Been thanked: 298 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
RBerenguel wrote:Imagemagick's MVG format does not have proper "close" for bezier-defined paths, so it was either leaving it as it is now or changing too many commands into paths. So, for now I'm happy with the results (well, I'm not, but I'll think I am for a while.) Generated with yet another option of my version of sgftopng, -wiggle.
For kicks (using "composite")
Geek of all trades, master of none: the motto for my blog mostlymaths.net
- cloudbrows
- Dies in gote
- Posts: 34
- Joined: Wed Apr 02, 2014 9:36 am
- Rank: AGA 2 kyu
- GD Posts: 0
- KGS: cloudbrows
- Location: Washington, DC
- Has thanked: 12 times
- Been thanked: 29 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
oca wrote:Not really what I will call a "nice stone graphics"
but I went to that page
http://29a.ch/2010/2/10/hand-drawn-line ... nvas-html5
and could not resist to try to apply that with a game of go
http://picshell.ovh.org/go/test_hand.html
I suppose I will not really enjoy playing with that but it's funny.
This is totally charming.
Nate Eagle
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
- Bonobo
- Oza
- Posts: 2223
- Joined: Fri Dec 23, 2011 6:39 pm
- Rank: OGS 9k
- GD Posts: 0
- OGS: trohde
- Universal go server handle: trohde
- Location: Germany
- Has thanked: 8262 times
- Been thanked: 924 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
RBerenguel wrote:[..]
For kicks (using "composite")
Yes, thx, that gave me a kick
Greetz, Tom
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? 
- cloudbrows
- Dies in gote
- Posts: 34
- Joined: Wed Apr 02, 2014 9:36 am
- Rank: AGA 2 kyu
- GD Posts: 0
- KGS: cloudbrows
- Location: Washington, DC
- Has thanked: 12 times
- Been thanked: 29 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
This hand-drawn stuff reminds me of a pet-peeve about generated boards and stones: why are the stones always placed in such a perfect geometric grid? I dream of a renderer that has an elegant, subtle jostling of stones, where they're budged a bit left/right/up/down and have some of the slight visual disorganization of a real board.
Nate Eagle
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
- RBerenguel
- Gosei
- Posts: 1585
- Joined: Fri Nov 18, 2011 11:44 am
- Rank: KGS 5k
- GD Posts: 0
- KGS: RBerenguel
- Tygem: rberenguel
- Wbaduk: JohnKeats
- Kaya handle: RBerenguel
- Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
- Location: Barcelona, Spain (GMT+1)
- Has thanked: 576 times
- Been thanked: 298 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
I added a minor displacement off-axis in the neat image generator. Of course, real, physical displacement is too complex for the amount of time I'd like to give it.
Geek of all trades, master of none: the motto for my blog mostlymaths.net
- Hayang
- Dies in gote
- Posts: 29
- Joined: Fri Mar 28, 2014 4:07 pm
- GD Posts: 0
- KGS: Hayang
- Tygem: curtana
- Wbaduk: Hayang
- Has thanked: 8 times
- Been thanked: 53 times
Re: For developers: Easy ways to render nice stone graphics
Currently the best-looking gobans/stones I've seen are:
Panda Tetsuki and Goban by Sen.te
Goban by Sen.te has random wabi-sabi offsets for the stones and I think it looks nice.
I think that it gives the game a human touch, and in my opinion Go is always more enjoyable with the human touch.
What would really be cool is if someone made stone placement animations in a goban application, either with hands placing the stones or with the stones kind of coming down on the board in a fade-in/zoom-out fashion.
I'm going to post a few board textures I made, here soon. Cool discussions going on here.
Panda Tetsuki and Goban by Sen.te
Goban by Sen.te has random wabi-sabi offsets for the stones and I think it looks nice.
I think that it gives the game a human touch, and in my opinion Go is always more enjoyable with the human touch.
What would really be cool is if someone made stone placement animations in a goban application, either with hands placing the stones or with the stones kind of coming down on the board in a fade-in/zoom-out fashion.
I'm going to post a few board textures I made, here soon. Cool discussions going on here.
- Hayang
- Dies in gote
- Posts: 29
- Joined: Fri Mar 28, 2014 4:07 pm
- GD Posts: 0
- KGS: Hayang
- Tygem: curtana
- Wbaduk: Hayang
- Has thanked: 8 times
- Been thanked: 53 times
Re: For developers: Easy ways to render nice stone graphics
oca wrote:Not really what I will call a "nice stone graphics"
but I went to that page
http://29a.ch/2010/2/10/hand-drawn-line ... nvas-html5
and could not resist to try to apply that with a game of go
http://picshell.ovh.org/go/test_hand.html
I suppose I will not really enjoy playing with that but it's funny.
That is actually totally awesome.
- Bonobo
- Oza
- Posts: 2223
- Joined: Fri Dec 23, 2011 6:39 pm
- Rank: OGS 9k
- GD Posts: 0
- OGS: trohde
- Universal go server handle: trohde
- Location: Germany
- Has thanked: 8262 times
- Been thanked: 924 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
This!
I’d really love to have that on Go servers.
Greetz, Tom
cloudbrows wrote:This hand-drawn stuff reminds me of a pet-peeve about generated boards and stones: why are the stones always placed in such a perfect geometric grid? I dream of a renderer that has an elegant, subtle jostling of stones, where they're budged a bit left/right/up/down and have some of the slight visual disorganization of a real board.
I’d really love to have that on Go servers.
Greetz, Tom
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? 
- cloudbrows
- Dies in gote
- Posts: 34
- Joined: Wed Apr 02, 2014 9:36 am
- Rank: AGA 2 kyu
- GD Posts: 0
- KGS: cloudbrows
- Location: Washington, DC
- Has thanked: 12 times
- Been thanked: 29 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
Hayang wrote:Currently the best-looking gobans/stones I've seen are:
Panda Tetsuki and Goban by Sen.te
Goban by Sen.te has random wabi-sabi offsets for the stones and I think it looks nice.
I think that it gives the game a human touch, and in my opinion Go is always more enjoyable with the human touch.
What would really be cool is if someone made stone placement animations in a goban application, either with hands placing the stones or with the stones kind of coming down on the board in a fade-in/zoom-out fashion.
I'm going to post a few board textures I made, here soon. Cool discussions going on here.
I don't know why there aren't animations, either. I had animations on my in-progress Go app that I was working on last summer, and I thought they looked pretty nice despite being very simple.
http://gokibitz.com/demos/2014-05-02/
http://gokibitz.com/demos/2014-05-02/simple.html (paper theme)
Nate Eagle
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
- oca
- Lives in gote
- Posts: 699
- Joined: Wed Feb 19, 2014 2:53 am
- Rank: DDK
- GD Posts: 0
- KGS: aco
- IGS: oca
- OGS: oca
- Location: Switzerland
- Has thanked: 485 times
- Been thanked: 166 times
Re: For developers: Easy ways to render nice stone graphics
cloudbrows wrote:http://gokibitz.com/demos/2014-05-02/
http://gokibitz.com/demos/2014-05-02/simple.html (paper theme)
Just great... I wonder what we can do if we can put all our individual effort together... maybe just nothing as it's really not that easy to coordonate things...
but may be something hudge...
a great site to teach go !
Converting the book Shape UP! by Charles Matthews/Seong-June Kim
to the gobook format. last updated april 2015 - Index of shapes, p.211 / 216
to the gobook format. last updated april 2015 - Index of shapes, p.211 / 216
- cloudbrows
- Dies in gote
- Posts: 34
- Joined: Wed Apr 02, 2014 9:36 am
- Rank: AGA 2 kyu
- GD Posts: 0
- KGS: cloudbrows
- Location: Washington, DC
- Has thanked: 12 times
- Been thanked: 29 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
oca wrote:cloudbrows wrote:http://gokibitz.com/demos/2014-05-02/
http://gokibitz.com/demos/2014-05-02/simple.html (paper theme)
Just great... I wonder what we can do if we can put all our individual effort together... maybe just nothing as it's really not that easy to coordonate things...
but may be something hudge...
a great site to teach go !
Collaborations can be great, but what I'm focused on more now is trying to make smaller, reusable components. For instance, there's no reason that developers need to keep reinventing a parser for SGF files, which is why I made one available on NPM: https://www.npmjs.org/package/smartgame. Hopefully it's documented well enough that the next person to happen on it will find it usable, rather than making their own, anyway, like... well, like I did. (There's already a parser here. https://www.npmjs.org/package/sgf To be fair, it's almost totally undocumented.)
I want to work on making other components easy for others to use that are a little more complicated.
Nate Eagle
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
"You see, this is why go is so difficult. But also why go is so interesting." --Yuan Zhou
- RBerenguel
- Gosei
- Posts: 1585
- Joined: Fri Nov 18, 2011 11:44 am
- Rank: KGS 5k
- GD Posts: 0
- KGS: RBerenguel
- Tygem: rberenguel
- Wbaduk: JohnKeats
- Kaya handle: RBerenguel
- Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
- Location: Barcelona, Spain (GMT+1)
- Has thanked: 576 times
- Been thanked: 298 times
- Contact:
Re: For developers: Easy ways to render nice stone graphics
cloudbrows wrote:oca wrote:cloudbrows wrote:http://gokibitz.com/demos/2014-05-02/
http://gokibitz.com/demos/2014-05-02/simple.html (paper theme)
Just great... I wonder what we can do if we can put all our individual effort together... maybe just nothing as it's really not that easy to coordonate things...
but may be something hudge...
a great site to teach go !
Collaborations can be great, but what I'm focused on more now is trying to make smaller, reusable components. For instance, there's no reason that developers need to keep reinventing a parser for SGF files, which is why I made one available on NPM: https://www.npmjs.org/package/smartgame. Hopefully it's documented well enough that the next person to happen on it will find it usable, rather than making their own, anyway, like... well, like I did. (There's already a parser here. https://www.npmjs.org/package/sgf To be fair, it's almost totally undocumented.)
I want to work on making other components easy for others to use that are a little more complicated.
Raise your hands if you have created a SGF parser or pseudoparser
Geek of all trades, master of none: the motto for my blog mostlymaths.net
- Hayang
- Dies in gote
- Posts: 29
- Joined: Fri Mar 28, 2014 4:07 pm
- GD Posts: 0
- KGS: Hayang
- Tygem: curtana
- Wbaduk: Hayang
- Has thanked: 8 times
- Been thanked: 53 times
Re: For developers: Easy ways to render nice stone graphics
cloudbrows wrote:Collaborations can be great, but what I'm focused on more now is trying to make smaller, reusable components. For instance, there's no reason that developers need to keep reinventing a parser for SGF files, which is why I made one available on NPM: https://www.npmjs.org/package/smartgame. Hopefully it's documented well enough that the next person to happen on it will find it usable, rather than making their own, anyway, like... well, like I did. (There's already a parser here. https://www.npmjs.org/package/sgf To be fair, it's almost totally undocumented.)
I want to work on making other components easy for others to use that are a little more complicated.
Cloudbrows, this is a nice mindset, it is true that a lot of developers may be reinventing the wheel. I think what may be necessary is a well-known Go developers' forum where it's easy to see other developers' work and the resources available online.
I really wish that an improved, responsive, and feature-rich goban applet was developed soon. WGo and GoKibitz both look nice so far. WGo needs a few more features to be on par with Eidogo (such as tsumego mode), and I don't know how far Gokibitz has come along.
Also here's a high-quality seamless goban texture, in subtly varying colors, I made for anyone to use:
Hayang's Kaya Goban Texture (MediaFire)
I experimented a lot with the hue and saturation and have created a few varieties that I think look good in their own way. I think the first texture has the best color so I am applying it to my experiments.