SudokuSolver Forum

A forum for Sudoku enthusiasts to share puzzles, techniques and software
It is currently Fri Apr 19, 2024 11:52 am

All times are UTC




Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Børge's Corner
PostPosted: Tue Oct 06, 2009 10:35 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
@udosuk: To bad you did not find the picture again or saved the URL.
Googling for "manta ray" (and not "manta rays" as you suggested) I think I found it on the fourth page: LINK

IMHO I was able to make the following passable forgery of your image: (Resize W520xH500 + 50% Lightness + 30% Brightness)
Upon closer inspection you might also have done some Sharpening.
My height for the resize is off by a couple of pixels (too large), maybe also my width. But my cage sums are more readable/defined than yours :D

Image

Hidden Text:
Image

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Tue Oct 06, 2009 11:13 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Wed Apr 23, 2008 5:29 am
Posts: 302
Location: Sydney, Australia
Geez you've completely outdone me here. For both pics. I'm gonna shamelessly nick your pics onto my thread. Don't sue me for copyright violation! :pirate:

FYI, for the "manta ray" photo I used a 75% brightness + 25% contrast. Can't remember what stretching ratio I used. Didn't do any sharpening, just a shabby job using good 'ol MS Paint. And that explains the terrible overlapping effect on the cage sums.

I actually thought about using the one you used on my version of "Sting Ray" (yep I also got it from google image), but too tired to do more photo remaking, so just used a small clip-art pic instead.

I here pronounce you the "designated inhouse artist" of this forum. Other members who wish to have a nicely decorated pic of their puzzles can go to Børge from now on. :viking:

_________________
ADYFNC HJPLI BVSM GgK Oa m


Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Wed Oct 07, 2009 10:18 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
@EVERYONE EXCEPT udusok.
In case you when reading the two previous posts, feel like suddenly finding yourself in the middle of a conversation, slightly confused about the topic, its context and wonder where to find the start, I'll try to fill you in.

This started as a PM conversation between udosuk and myself, but to save precious PM space, we decided to continue here.

Since udosuk actually is an ultra secret XI9 agent, currently on an extremely important deep undercover mission in Oz, open unencrypted emails is unfortunately not an option to PMs. Udosuk is currently only allowed to use encrypted email communication, and for work purposes only, and I as a common ordinary person am of course not allowed a copy of the email client required for reading encrypted XI9 emails. The real reason for his sparse Assassin puzzles and the many versions every time he actually makes one, is for communicating a new encryption key, which is embedded/hidden in various places in the puzzles, images and their solution(s).


udosuk, please start reading here:
I originally thought that udosuk produced his images using JSudoku and sent him a PM asking how he configured JSudoku to get the cage sums inside the cage frames. The answer was that he did not use JSudoku, but Excel. And as the clever agent he is, he did not reveal all his secrets, but gave me some unconcealed information, and some hints:
udosuk wrote:
I'll share a little of my tricks here: what you need is to create very tiny square cells (for me, 1 unit in width and 9 units in height). Then I'd group them like, 8x8 tiny squares for each grid cell of the puzzle. Normally the middle 6x6 squares of each cell can be merged and included in the "caged areas", but I usually twitch them a little to facilitate an area for the cage sums.

Also, there are minor tricks involved for shading some regions, drawing the diagonal cages, and perhaps the diagonals in X puzzles. One important trick is to do it in layers and then superimpose them using MS Paint etc. I normally have 3 layers: the background (picture/shading), the grid lines, and the cages. :idea:
Based on this information I think I have figured out how he does it all, and have made my own Excel versions of all his puzzles.

Two questions udosuk:
1)
You said you use tiny cells, 1 unit in width and 9 units in height. Is this correct?
I have to use 0,5 units in width and 4,5 units in height, i.e. half of yours.

2)
Did you colour the tubes connecting the diagonal cages making up the wheel in the Assassin 123 Roulette puzzles in Excel or later (in Paint)?


udosuk wrote:
Geez you've completely outdone me here. For both pics. I'm gonna shamelessly nick your pics onto my thread. Don't sue me for copyright violation! :pirate:
No need to worry! :santa:
You were so kind and shared some of your tricks on how you make the cages!


udosuk wrote:
FYI, for the "manta ray" photo I used a 75% brightness + 25% contrast. Can't remember what stretching ratio I used. Didn't do any sharpening, just a shabby job using good 'ol MS Paint. And that explains the terrible overlapping effect on the cage sums.
AFAIK, MS Paint can't change the brightness and contrast of an image. I used paint.net. Perhaps you used MS Word's image formatting, as you mentioned in one of your PMs?

I think the "terrible overlapping effect on the cage sums" is due to how MS Paint's "Not Draw Opaque" option works. I believe it just ANDs the colour information (24 bits pr. pixel) in the two images being combined. So if you end up with a lot of 1's giving nearly white = RGB(255, 255, 255), you'll get the "terrible overlapping effect on the cage sums". The origin of the problem is the Arial 8 Bold font you use for the cage sums, which is not entirely composed of black pixels, but 16 shades of gray I think, some of them almost white.

I did the following:
  1. Took a screen shot of the Excel worksheet with the Assassin 175 "Devil Ray" cages and imported it into MS Paint.
  2. Positioned the Assassin 175 "Devil Ray" in the upper left corner and cropped it to W435xH471.
  3. Edited the digits in the cage sums to be composed of black pixels only. Did each of the digits 0-9 once and used copy and paste to do the others.
  4. Edited the tube connecting the cells in the 28 cage in the lower left corner so it is composed of black pixels only.
  5. In the MS Paint window with the massaged "manta ray" photo, unchecked "Image > Draw Opaque" and pasted in the image with the "Devil Ray" cages and their edited cage sums.

I did the same with the "Sting Ray", but copied and overpasted its digits with identical ones from the already edited "Devil Ray".
In case of interest you can find the edited "Devil Ray" image below.
Here the URL of the udosuk subfolder on my SkyDrive, which has all the images: http://cid-c136798e52d0119c.skydrive.li ... ver/udosuk
Hidden Text:
Image

udosuk wrote:
I actually thought about using the one you used on my version of "Sting Ray" (yep I also got it from google image), but too tired to do more photo remaking, so just used a small clip-art pic instead.
Absolutely sure you thought of the same image I used? ;)
I used THIS ONE and then massaged it as follows: 21% Zoom in Firefox, +95° Rotation, +30% Brightness, -60% Contrast, +25% Lightness In paint.net.
I only had time for one attempt and did the rotation by eye. In hindsight, perhaps +96° would have been better :geek:


udosuk wrote:
I here pronounce you the "designated inhouse artist" of this forum. Other members who wish to have a nicely decorated pic of their puzzles can go to Børge from now on. :viking:
Thanks for your confidence, but I politely decline.

Unless you have any objections, I can however make my Excel file/workbook with my Excel versions of all your puzzles and a template for fast and easy cage layout for Killer/Assassin puzzles public. I however want to see if I can make some improvements before making it public.
FYI: I have deleted the one in the udosuk subfolder, in case you have not downloaded it yet.

After some practice, it now takes me about 10 minutes to make the cage patterns and cage sums for a puzzle, including background colouring (as in the Assassin 123 Roulette puzzles).
BTW: I do all the background colouring including the tubes connecting diagonal cages in Excel.

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Thu Oct 08, 2009 6:14 am 
Offline
Grand Master
Grand Master
User avatar

Joined: Wed Apr 23, 2008 5:29 am
Posts: 302
Location: Sydney, Australia
Børge wrote:
Since udosuk actually is an ultra secret XI9 agent, currently on an extremely important deep undercover mission in Oz, open unencrypted emails is unfortunately not an option to PMs. Udosuk is currently only allowed to use encrypted email communication, and for work purposes only, and I as a common ordinary person am of course not allowed a copy of the email client required for reading encrypted XI9 emails. The real reason for his sparse Assassin puzzles and the many versions every time he actually makes one, is for communicating a new encryption key, which is embedded/hidden in various places in the puzzles, images and their solution(s).
Nice conspiracy theory, but wrong movie reference. I'm actually Agent Smith as in the Matrix Trilogy. So beware Mr. Anderson! No matter where you hide (in the webspace or virtual reality) I can/will track you down. Kahahaha (evil chuckle)... :twisted:


Børge wrote:
I originally thought that udosuk produced his images using JSudoku and sent him a PM asking how he configured JSudoku to get the cage sums inside the cage frames. The answer was that he did not use JSudoku, but Excel. And as the clever agent he is, he did not reveal all his secrets, but gave me some unconcealed information, and some hints...
There you go, you've just contradicted yourself completely. No "clever agent" would ever use a dumb program like any of Mr. Gates' notorious diskspace-ripping security-loopholing user-power-limiting usage-freedom-depriving softwares! :rambo:


Børge wrote:
Two questions udosuk:
1)
You said you use tiny cells, 1 unit in width and 9 units in height. Is this correct?
I have to use 0,5 units in width and 4,5 units in height, i.e. half of yours.
My bad! :oops: 1x9 is what I used for other logic puzzles, so as the larger 2x14.5, 3x20, 4x25, 5x30 & 6x35.5. As for the killer grids what I used was actually "0.5x5". As you can see, so many different dimensions you can't blame me for being confused.


Børge wrote:
2)
Did you colour the tubes connecting the diagonal cages making up the wheel in the Assassin 123 Roulette puzzles in Excel or later (in Paint)?
Yes, in excel, just draw a 45 degree rotated rectangle and fill it up. For the cages just draw a pair of dotted lines (I could do it with diagonal bordering but it'd require another layer and doesn't look very nice.) :idea:


Børge wrote:
udosuk wrote:
FYI, for the "manta ray" photo I used a 75% brightness + 25% contrast. Can't remember what stretching ratio I used. Didn't do any sharpening, just a shabby job using good 'ol MS Paint. And that explains the terrible overlapping effect on the cage sums.
AFAIK, MS Paint can't change the brightness and contrast of an image. I used paint.net. Perhaps you used MS Word's image formatting, as you mentioned in one of your PMs?
Again good guess right there. I might give paint.net a try in the future.


Børge wrote:
I think the "terrible overlapping effect on the cage sums" is due to how MS Paint's "Not Draw Opaque" option works. I believe it just ANDs the colour information (24 bits pr. pixel) in the two images being combined. So if you end up with a lot of 1's giving nearly white = RGB(255, 255, 255), you'll get the "terrible overlapping effect on the cage sums". The origin of the problem is the Arial 8 Bold font you use for the cage sums, which is not entirely composed of black pixels, but 16 shades of gray I think, some of them almost white.

I did the following:
  1. Took a screen shot of the Excel worksheet with the Assassin 175 "Devil Ray" cages and imported it into MS Paint.
  2. Positioned the Assassin 175 "Devil Ray" in the upper left corner and cropped it to W435xH471.
  3. Edited the digits in the cage sums to be composed of black pixels only. Did each of the digits 0-9 once and used copy and paste to do the others.
  4. Edited the tube connecting the cells in the 28 cage in the lower left corner so it is composed of black pixels only.
  5. In the MS Paint window with the massaged "manta ray" photo, unchecked "Image > Draw Opaque" and pasted in the image with the "Devil Ray" cages and their edited cage sums.

I did the same with the "Sting Ray", but copied and overpasted its digits with identical ones from the already edited "Devil Ray".
Why so much fuss? Just take the white background pic, save it as a 2-bit or 16-bit bitmap file, and most/all the grey pixels should be gone.


Børge wrote:
udosuk wrote:
I actually thought about using the one you used on my version of "Sting Ray" (yep I also got it from google image), but too tired to do more photo remaking, so just used a small clip-art pic instead.
Absolutely sure you thought of the same image I used? ;)
I used THIS ONE and then massaged it as follows: 21% Zoom in Firefox, +95° Rotation, +30% Brightness, -60% Contrast, +25% Lightness In paint.net.
I only had time for one attempt and did the rotation by eye. In hindsight, perhaps +96° would have been better :geek:
Should be the exact same image that I downloaded but didn't used. Also I never do any rotation other than 90, 180 & 270 degrees. Once again this shows that you're a much more serious decorating artist than I am. :salute:


One day or another I might actually dump some files in your skydrive (if I ever get a "live/passport account" suitable for my "Agent Smith" identity 8-)). But I guess you're already doing quite fine by yourself, as any high IQ individual would be able to grasp from my vastly vague tips. ;)

_________________
ADYFNC HJPLI BVSM GgK Oa m


Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Thu Oct 08, 2009 7:58 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
udosuk wrote:
Yes, in excel, just draw a 45 degree rotated rectangle and fill it up. For the cages just draw a pair of dotted lines
Thats exactly what I do, but i like the rectangle a little bit wider. I also do dotted lines, but will try three small a little bit thinner separate lines instead.
BTW: Drawing and positioning shapes is much better with Excel 2007 than any of the previous versions, but I STILL HATE the Ribbon UI Image


udosuk wrote:
Why so much fuss? Just take the white background pic, save it as a 2-bit or 16-bit bitmap file, and most/all the grey pixels should be gone.
If you ever tried that, as I did first, you would not suggest it. Looks awful!

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Sat Oct 10, 2009 8:53 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
Børge wrote:
I also do the tubes connecting diagonal cages with two dotted lines, but will try three small a little bit thinner separate lines instead.
Personally I think three small a little bit thinner separate lines look better.
According to udosuk he uses [three] or two layers: [picture/shading] + grid lines + cages.
Except for the puzzles with a picture background (Assassin 175 v0.75 "Sting Ray" and Assassin 175 v1 "Devil Ray") I content myself with one layer, which I think is sufficient.

Here are my cover versions of udosuk's images:
Hidden Text:
Image     Image     Image



Image     Image     Image



Image     Image



Image     Image



Image     Image



Image     Image
In case of interest I will upload and make the Excel file/workbook available tomorrow.

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Last edited by Børge on Mon Oct 12, 2009 3:55 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Børge's Corner
PostPosted: Sun Oct 11, 2009 9:31 am 
Offline
Grand Master
Grand Master
User avatar

Joined: Mon Apr 21, 2008 10:32 am
Posts: 868
Børge wrote:
In case of interest I will upload and make the Excel file/workbook available tomorrow.
The file is named "udosuk Assassins .xls" and can be found in the udosuk subfolder on my SkyDrive.
This is a direct link to the file.

Albeit this is a Mr. Anderson creation, the file is absolutely harmless to anyone, except a Matrix Trilogy agent; Especially Agent Smith, whose matrix will be be decompiled (sooner or later anyway) (very evil chuckling)... :twisted:

_________________
Quis custodiet ipsos custodes?
Normal: [D  Y-m-d,  G:i]     PM->email: [D, d M Y H:i:s]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group