New tool: Peek-a-boo

New tool: Peek-a-boo

Postby Largo » Sun Jan 29, 2017 3:01 pm

Hi!

Since I had a lot of work to do in my job I ignored the z340 for a while. Oh, and I needed a pause from z340 also. Well, today I spent some hours on a tool I've started earlier and I finished a preview version. Please don't expect too much, it is just some kind of a "proof of concept".

What is the tool about?
When I am working on z340 I usually implement transpositioning ideas and statistics. That is fine, but I like "visual" results like the ones in smokie treat's excel sheets. Unfortunately my excel skills are very poor and so I wrote a tool which keeps track of the letters in the inscription and the transcription rectangles. It is possible to select letters and apply a color to them. The main idea is that the relationship between inscription and transcription is always considered when applying new colors. That should help to visualize what happens when experimenting with transcriptions. I am not so good in describing such things in english, so here are some screenshots:

Here two color gradients were applied to z340's original and the pivots were marked. Then period 19 was applied.
pab1.jpg


Now a checkerboard was applied to a part of the p19 transcription rectangle. You can see the relationship of the letters in the inscription rectangle.
pab2.jpg


Checkerboard pattern and gradients can only be applied to rectangular selections (obviously). The single colors can be applied to multi selection (ctrl + mouse click). Ctrl-A click selects the whole grid.

The tools was not tested properly, so I think that it contain some bugs. I will add more transcription and manipulation methods as well as more statistic informations.

If you find bugs or have feature requests just let me know!

PS: The tool is written in C# + WindowsForms and requires the latest .net framework (should already be installed if you are using Windows 10).

Download Version 0.7:
Download: https://www.dropbox.com/s/mcsng1nkzgd3c ... 7.zip?dl=0
You do not have the required permissions to view the files attached to this post.
Last edited by Largo on Sun Nov 05, 2017 6:31 am, edited 6 times in total.
Largo
 
Posts: 133
Joined: Tue Jun 14, 2016 4:38 am
Location: Frankfurt, Germany

Re: New tool: Peek-a-boo

Postby Largo » Sun Jan 29, 2017 6:22 pm

One of my first experiments were to apply a checkerboard pattern to the inscription grid and checked how period 19 or mirror+period 15 behaves. There were no discrepancy between this test and the odd/even anomaly. Try the same with upper/lower half in different colors. Also no discrepancy.
Largo
 
Posts: 133
Joined: Tue Jun 14, 2016 4:38 am
Location: Frankfurt, Germany

Re: New tool: Peek-a-boo

Postby Mr lowe » Sun Jan 29, 2017 8:38 pm

That's cool largo, I have been looking for a tool to use like this and have been working on chunk sizes of the 340 in the background for the last few months. I have been using http://zodiackillerciphers.com/zodiac-pattern-drawer for the moment but it is tedious. I am getting RSI. I came up with a simple pattern that employs the first pivot and half of the 340 using the first 8 columns, I ran it through AZ decrypt with some "interesting results". i will endeavour to recreate and refine and show and if it proves worthy i will continue on this format
i look forward to utilising your system..
A killer we sort stood there among the dead
Mr lowe
 
Posts: 834
Joined: Fri Aug 15, 2014 4:07 am

Re: New tool: Peek-a-boo

Postby Jarlve » Mon Jan 30, 2017 10:44 am

That's a real handy visualization tool Largo. Loving the name and icon.

A few issues for me,

The window does not fit on my 1920*1080 screen.

And concerning transposition I suggest to include the opposite operation as well. The period operation you have included inputs characters periodically (1,5,9,13,17,...) and outputs them in a line (1,2,3,4,5,...). The other way around would be to input characters in a line and output them periodically. I call the first untransposition and the second transposition. But have referred to it as doing and undoing transposition also.
User avatar
Jarlve
 
Posts: 1453
Joined: Sun Sep 07, 2014 9:51 am
Location: Belgium

Re: New tool: Peek-a-boo

Postby doranchak » Mon Jan 30, 2017 12:21 pm

Thanks, Largo - this is really handy and I look forward to playing around with it some more.
User avatar
doranchak
 
Posts: 1673
Joined: Thu Mar 28, 2013 5:26 am

Re: New tool: Peek-a-boo

Postby Largo » Mon Jan 30, 2017 1:27 pm

Thank you for your replies. I hope that I can release an update with new features this week. I have lots of ideas.

Jarlve wrote:A few issues for me,

The window does not fit on my 1920*1080 screen.

Thanks for reporting it!
Hm...that's strange. I have tested it just now with different resolutions but it always fits onto the screen. Even when I start it on my Macbook Air 11' (1366*768) it fits (if windows task bar is hidden). Do you have some special DPI or scaling settings on your machine?
In the next update I will make the dialog resizable and include scrollbars. This should fix the problem.

Jarlve wrote:And concerning transposition I suggest to include the opposite operation as well. The period operation you have included inputs characters periodically (1,5,9,13,17,...) and outputs them in a line (1,2,3,4,5,...). The other way around would be to input characters in a line and output them periodically. I call the first untransposition and the second transposition. But have referred to it as doing and undoing transposition also.


That is a good idea! I had implemented some "undo" transpositions in my python library for undoing odd/even, primes and diagonal writing but unfortunately not for period n. I will implement it in one of the next releases.
Largo
 
Posts: 133
Joined: Tue Jun 14, 2016 4:38 am
Location: Frankfurt, Germany

Re: New tool: Peek-a-boo

Postby Jarlve » Tue Jan 31, 2017 11:07 am

Largo wrote:Do you have some special DPI or scaling settings on your machine?

It was at 125%, it more than fits now at 100%.
User avatar
Jarlve
 
Posts: 1453
Joined: Sun Sep 07, 2014 9:51 am
Location: Belgium

Re: New tool: Peek-a-boo

Postby Largo » Sat Feb 04, 2017 1:39 pm

Hi

I have uploaded version 0.2. Here is the changelog:

- Redesigned UI. Should now fit on smaller or scaled screens
- Transcription grid can be copied to inscription grid and vice versa
- The transcription can be saved to a text file
- Flip/Mirror, rotate and period n can now be applied to a selection (in the last version it was only possible to apply on the whole grid)
- Buttons and other controls are enabled/disabled depending on the selection within the grids.
- New option "keep original size" for period n.
- Live statistics! Select a region in one of the grids and check the statistics just for the selected area.
- Letters on prime positions can be selected
- Double clicking a letter selects all similiar letters
- Added an about dialog and instructions dialog
- Bugfixes


I think the tool can now be used productively with the new update. My goal was to add some handy tools to examine some of the common z340 observations like odd/even, upper/lower bias, prime phobia and period 15/19.
For example you can apply different color gradients to upper and lower half and apply period 19. Or maybe apply a checkerboard + mark primes, flip the whole thing and apply period 15.
Another example: Mark the primes and apply period 19 ("keep original size" must be checked!). Then have a look at the colored letters in the transcription grid. Fits the "recipes for prime phobia" observations from another thread.

Please note that the controls for color patterns and transpositions are greyed out as long as your selection is empty. E.g. to flip the whole cipher click "All" or press ctrl-A in the transcription grid to enable the manipulation controls.

If you find bugs or you have any ideas please let me know! I will constantly add new features


I hope you find the tool useful. I am curious if anyone can make some new observations.

Download: https://www.dropbox.com/s/dp426bzin0xbhbe/Peek_a_boo_v0_3.zip?dl=0
Last edited by Largo on Fri Feb 17, 2017 2:45 pm, edited 1 time in total.
Largo
 
Posts: 133
Joined: Tue Jun 14, 2016 4:38 am
Location: Frankfurt, Germany

Re: New tool: Peek-a-boo

Postby Mr lowe » Sun Feb 05, 2017 7:13 pm

Hi Largo, I am having trouble loading the code onto the first page . what am I doing wrong
I am technologically disadvantaged as I was born analogue era
A killer we sort stood there among the dead
Mr lowe
 
Posts: 834
Joined: Fri Aug 15, 2014 4:07 am

Re: New tool: Peek-a-boo

Postby Jarlve » Mon Feb 06, 2017 2:24 am

Nice changes Largo.

Invert is very sluggish. I don't understand what the function of the inscription window is since manipulation is happening solely in the transcription window. It would be cool if the user could select an operation, for instance period 19, which is then applied from the inscription window to the transcription window, and any change to the inscription window would automatically update the transcription window with the period 19 operation. This way the user could explore stacked manipulations. But then you should allow manipulation to the inscription window also. Oh, and can you add offset controls? And add something that lets the user know what position in the grid is being hovered over, in x, y but also in position numbers 1 to 340. Could you also use doranchak's webtoy character sets for the 340 and 408? That would make things easier in the long term.

I don't want to come across as overly demanding. Just listing my dream functionality. Thanks allot for developing your tool.
User avatar
Jarlve
 
Posts: 1453
Joined: Sun Sep 07, 2014 9:51 am
Location: Belgium

Next

Return to Zodiac Cipher Mailings & Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron