It is currently Wed May 07, 2025 6:03 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ] 
Author Message
Offline
 Post subject: Go wallpapers
Post #1 Posted: Sun Jul 14, 2013 3:53 am 
Beginner
User avatar

Posts: 14
Liked others: 1
Was liked: 42
Rank: KGS 3 dan
KGS: Shedal
IGS: Shedal
I took some pictures of the Go board yesterday, and also a couple pics two years ago. Thought I'd share these with everyone in wallpaper format:

Image

Image

Image

Image

Image


This post by Shedal was liked by 11 people: Bantari, Boidhre, Bonobo, Drew, gasana, hailthorn011, matthiasa, moyoaji, quietimes, Splatted, wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #2 Posted: Sun Jul 14, 2013 3:59 am 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
Very nice!

Any chance for iPhone proportions?

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #3 Posted: Sun Jul 14, 2013 4:02 am 
Beginner
User avatar

Posts: 14
Liked others: 1
Was liked: 42
Rank: KGS 3 dan
KGS: Shedal
IGS: Shedal
wineandgolover wrote:
Very nice!

Any chance for iPhone proportions?

Thanks!

Which iPhone? They have different screen proportions.

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #4 Posted: Sun Jul 14, 2013 7:12 am 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
Well, since you're asking, I have an iPhone 4s and an iPad retina screen.

But, seriously don't feel the need to make them for me. Maybe somebody else will chime in. :tmbup:

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #5 Posted: Sun Jul 14, 2013 7:42 am 
Beginner
User avatar

Posts: 14
Liked others: 1
Was liked: 42
Rank: KGS 3 dan
KGS: Shedal
IGS: Shedal
wineandgolover wrote:
Well, since you're asking, I have an iPhone 4s and an iPad retina screen.

But, seriously don't feel the need to make them for me. Maybe somebody else will chime in. :tmbup:

Yeah, someone could resize the pics I published to iPhone resolution. But 1920x1200 is not enough to resize for iPad retina.

Anyways, I happen to have the same devices as you have, so I played around with cropping for two of the pics:

http://dl.dropboxusercontent.com/u/5504 ... ne4s_1.jpg
http://dl.dropboxusercontent.com/u/5504 ... ne4s_2.jpg
http://dl.dropboxusercontent.com/u/5504 ... tina_1.jpg
http://dl.dropboxusercontent.com/u/5504 ... tina_2.jpg

http://dl.dropboxusercontent.com/u/5504 ... hone4s.jpg
http://dl.dropboxusercontent.com/u/5504 ... retina.jpg


This post by Shedal was liked by 3 people: Bonobo, Splatted, wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #6 Posted: Sun Jul 14, 2013 7:48 am 
Lives in sente
User avatar

Posts: 866
Liked others: 318
Was liked: 345
Applied. Thanks!

_________________
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #7 Posted: Sun Jul 14, 2013 3:03 pm 
Dies in gote

Posts: 24
Liked others: 8
Was liked: 5
Rank: DGS 25 kyu
Universal go server handle: Martin1974
Very nice! Thanks!

Top
 Profile  
 
Offline
 Post subject:
Post #8 Posted: Sun Jul 14, 2013 3:25 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Hi Shedal, thanks. Which camera did you use for those photos ? :)

Top
 Profile  
 
Offline
 Post subject: Re:
Post #9 Posted: Sun Jul 14, 2013 3:27 pm 
Beginner
User avatar

Posts: 14
Liked others: 1
Was liked: 42
Rank: KGS 3 dan
KGS: Shedal
IGS: Shedal
EdLee wrote:
Which camera did you use for those photos ? :)

Nikon D90 and Nikon D800.

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #10 Posted: Tue Aug 06, 2013 8:35 pm 
Dies in gote
User avatar

Posts: 35
Location: Utah, USA
Liked others: 1
Was liked: 3
Rank: 13k
KGS: AKaios
IGS: AKaios
Kaya handle: AKaios
Online playing schedule: KGS about 20:00-3:00 (UTC -7)
Oh my god these are gorgeous. I think you should do another set of these. :mrgreen:

Really excited to use these as backgrounds. Thank you for sharing!

_________________
Image
Image
Image
Image

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #11 Posted: Tue Aug 13, 2013 10:59 am 
Beginner

Posts: 9
Liked others: 1
Was liked: 6
Universal go server handle: pobe
Online playing schedule: rarely
I took this with my iPhone (4). Looks good enough for a phone background, imho... :)

Image
Go wallpaper by pobe, on Flickr


This post by pobe was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #12 Posted: Wed Aug 14, 2013 2:50 am 
Beginner

Posts: 9
Liked others: 1
Was liked: 6
Universal go server handle: pobe
Online playing schedule: rarely
When I get into something, I tend to geek out... Here's another one I made for my netbook. I could post this in higher resolution if anyone is interested. ;)

Image
Another go wallpaper by pobe, on Flickr


This post by pobe was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Go wallpapers
Post #13 Posted: Fri Jul 04, 2014 11:52 pm 
Beginner

Posts: 9
Liked others: 1
Was liked: 6
Universal go server handle: pobe
Online playing schedule: rarely
Reviving this old thread with my latest hack... I wrote a small script that reads an SGF file and updates my wallpaper every 20 seconds. Looks like this on my linux netbook:

Image


This post by pobe was liked by: Sundaay
Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #14 Posted: Sat Jul 05, 2014 2:32 pm 
Lives with ko
User avatar

Posts: 269
Location: Seattle
Liked others: 127
Was liked: 123
Rank: AGA 12k
GD Posts: 292
KGS: RedBeard
DGS: Akahige
Cool! Care to share the script?

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #15 Posted: Sun Jul 06, 2014 12:32 am 
Beginner

Posts: 9
Liked others: 1
Was liked: 6
Universal go server handle: pobe
Online playing schedule: rarely
Sure, it's not exactly code to brag about but it works :) I'm pretty sure one could optimize it or write something much better. The life-checking function does redundant testing in some conditions, but I haven't bothered to tweak it.

It's perl, uses perlmagick for creating and saving the image and feh to set the background. There was a few comments in there, but they were my notes in swedish so I removed them.

Code:
#!/usr/bin/perl

use Image::Magick;

$sleeptime = 20;
$imgfile = '/tmp/sgfwallpaper.png';
$lines = 19;
$width = 1024;
$height = 600;
$yoffset = $height / 12;
$gridsize = ($height - $yoffset * 2) / ($lines - 1);
$xoffset = ($width - (($lines - 1) * $gridsize)) / 2;
$bg = '#ba6'; # background color
$lc = '#333'; # lines and hoshi
$bc = '#111'; # black stones
$wc = '#eff'; # white stones
$lw = $height / 500; # stroke width (lines & hoshi)

$gb = Image::Magick->new(size=>$width.'x'.$height);
$gb->ReadImage("canvas:$bg");

@goban = ();
@checked = ();
for ($i = 0; $i < $lines; $i++) {
    for ($j = 0; $j < $lines; $j++) {
   $goban[$i][$j] = 0;
   $checked[$i][$j] = 0;
    }
}

# draw_hoshi(x, y)
sub draw_hoshi{
    my $x = $_[0] - 1;
    my $y = $_[1] - 1;
    $x = $xoffset + $x * $gridsize;
    $y = $yoffset + $y * $gridsize;
    $r = $y + $lw * 2;
    $gb->Draw(primitive=>'circle',points=>"$x,$y $x,$r",fill=>$lc);
}

# draw_stone(color, x, y, x-off, y-off)
sub draw_stone{
    my $f = $_[0];
    my $x = $_[1];
    my $y = $_[2];
    my $xoff = $_[3];
    my $yoff = $_[4];
    $x = $xoffset + $x * $gridsize + $xoff;
    $y = $yoffset + $y * $gridsize + $yoff;
    $r = $y + ($gridsize / 2.1);
    $gb->Draw(primitive=>'circle',points=>"$x,$y $x,$r",fill=>$f);
}

# liberties(x, y, color)
sub liberties{
    my $x = $_[0];
    my $y = $_[1];
    my $f = $_[2];
    my $lib = 0;

    if ($checked[$x][$y]) {
   return 0;
    }

    $checked[$x][$y] = 1;
    if ($x > 0 and !$goban[$x - 1][$y]) {
   $lib++;
    }
    if ($x < $lines - 1 and !$goban[$x + 1][$y]) {
   $lib++;
    }
    if ($y > 0 and !$goban[$x][$y - 1]) {
   $lib++;
    }
    if ($y < $lines - 1 and !$goban[$x][$y + 1]) {
   $lib++;
    }
    if ($lib < 4) {
   if ($y < $lines - 1 and $goban[$x][$y + 1] =~ /^$f/) {
       $lib += liberties($x, $y + 1, $f);
   }
   if ($y > 0 and $goban[$x][$y - 1] =~ /^$f/) {
       $lib += liberties($x, $y - 1, $f);
   }
   if ($x < $lines - 1 and $goban[$x + 1][$y] =~ /^$f/) {
       $lib += liberties($x + 1, $y, $f);
   }
   if ($x > 0 and $goban[$x - 1][$y] =~ /^$f/) {
       $lib += liberties($x - 1, $y, $f);
   }
    }
    $checked[$x][$y] = 0;
    return $lib;
}

# remove_stone(x, y, color)
sub remove_stone{
    my $x = $_[0];
    my $y = $_[1];
    my $f = $_[2];

    $goban[$x][$y] = 0;
    if ($y < $lines - 1 and $goban[$x][$y + 1] =~ /^$f/) {
   remove_stone($x, $y + 1, $f);
    }
    if ($y > 0 and $goban[$x][$y - 1] =~ /^$f/) {
   remove_stone($x, $y - 1, $f);
    }
    if ($x < $lines - 1 and $goban[$x + 1][$y] =~ /^$f/) {
   remove_stone($x + 1, $y, $f);
    }
    if ($x > 0 and $goban[$x - 1][$y] =~ /^$f/) {
   remove_stone($x - 1, $y, $f);
    }
}

# check_stone(x, y, color)
sub check_stone{
    my $x = $_[0];
    my $y = $_[1];
    my $f = $_[2];
    if (!liberties($x, $y, $f)) {
   remove_stone($x, $y, $f);
    }
}

# check_life(last_move_color, last_move_x, last_move_y)
sub check_life{
    my $f = $_[0];
    my $fm;
    my $x = $_[1];
    my $y = $_[2];
    if ($f eq $bc) {
   $fm = $wc;
    } elsif ($f eq $wc) {
   $fm = $bc;
    }
    if ($y < $lines - 1 and $goban[$x][$y + 1] =~ /^$fm/) {
   check_stone($x, $y + 1, $fm);
    }
    if ($y > 0 and $goban[$x][$y - 1] =~ /^$fm/) {
   check_stone($x, $y - 1, $fm);
    }
    if ($x < $lines - 1 and $goban[$x + 1][$y] =~ /^$fm/) {
   check_stone($x + 1, $y, $fm);
    }
    if ($x > 0 and $goban[$x - 1][$y] =~ /^$fm/) {
   check_stone($x - 1, $y, $fm);
    }
    check_stone($x, $y, $f);
}

# redraw()
sub redraw{
    my $s;

    $gb->Draw(primitive=>'rectangle', points=>"0,0 $width,$height", fill=>$bg);
    for ($i = 0; $i < $lines; $i++) {
   $ax = $xoffset + $i * $gridsize;
   $ay = $yoffset;
   $bx = $ax;
   $by = $yoffset + ($lines - 1) * $gridsize;
   $gb->Draw(primitive=>'line', points=>"$ax,$ay $bx,$by", stroke=>$lc, strokewidth=>$lw);
    }
    for ($i = 0; $i < $lines; $i++) {
   $ax = $xoffset;
   $ay = $yoffset + $i * $gridsize;
   $bx = $width - $xoffset;
   $by = $ay;
   $gb->Draw(primitive=>'line', points=>"$ax,$ay $bx,$by", stroke=>$lc, strokewidth=>$lw);
    }
    draw_hoshi(4, 4);
    draw_hoshi(4, 10);
    draw_hoshi(4, 16);
    draw_hoshi(10, 4);
    draw_hoshi(10, 10);
    draw_hoshi(10, 16);
    draw_hoshi(16, 4);
    draw_hoshi(16, 10);
    draw_hoshi(16, 16);
   
    for ($i = 0; $i < $lines; $i++) {
   for ($j = 0; $j < $lines; $j++) {
       if ($goban[$i][$j]) {
      @s = split(':', $goban[$i][$j]);
      draw_stone($s[0], $i, $j, $s[1], $s[2]);
       }
   }
    }
}


$f = $bc;

while (<>) {
    @sgf = split(';');
    foreach (@sgf) {
   if ($f) {
       redraw();
       $gb->Write($imgfile);
       system("feh --bg-center $imgfile");
       sleep($sleeptime);      
   }
   $f = 0;
   if (/\[[a-w]{2}\]/) {
       if (/^B\[/ or /^AB\[/) {
      $f = $bc;
       } elsif (/^W\[/ or /^AW\[/) {
      $f = $wc;
       }
       if ($f) {
      $xoff = rand($lw * 2) - $lw;
      $yoff = rand($lw * 2) - $lw;
      s/[^\[]*\[//;
      s/\].*//;
      @k = split('');
      $x = ord($k[0]) - ord('a');
      $y = ord($k[1]) - ord('a');
      $goban[$x][$y] = "$f:$xoff:$yoff";
      check_life($f, $x, $y);
       }
   }
    }
}

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #16 Posted: Sun Jul 06, 2014 1:11 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
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
May I point to sgfutils?

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #17 Posted: Sun Jul 06, 2014 1:27 am 
Beginner

Posts: 9
Liked others: 1
Was liked: 6
Universal go server handle: pobe
Online playing schedule: rarely
Yes, one could probably script sgftopng to do the same thing better... :)

Top
 Profile  
 
Offline
 Post subject: Re: Go wallpapers
Post #18 Posted: Sun Jul 06, 2014 1:32 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
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
Yup, I have done it several times. Adding sgfx or sgfinfo (to know how long the game is) sgftopng can be used for many funny things (I have animated gifs of tsumego and games, for fun.)

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group