My dad's project!

Vyrona's weather station, Location: Athens, GREECE

Please wait. The image will appear soon on your screen

On the left, you can see Lycabbetus hill and in the middle, when the atmosphere is clear, mount Parnitha is visible

click on the image to see the weather station's page

Showing posts with label arrangements. Show all posts
Showing posts with label arrangements. Show all posts

Thursday, November 15, 2012

Breaking the 3-Colours Granny Square Code!!!! UPDATE!!!!


The new version 2.0 of the GRANNY_SQUARES program, computes the different arrangements for a 3, 4 or 5 color granny square and writes down all the combinations using the ver1.0 format.
You can download it from the following link:

https://sites.google.com/site/angelikisplace/GRANNY_SQUARES_VER2.0.rar

For a more detailed description, see my previous post.

Please, leave me a message, telling me how you found the program, in which crochet project it helped you, or report me any bugs!

Wednesday, November 7, 2012

Breaking the 3-Colours Granny Square Code.....


Hi to everyone! Has anyone missed me??
The past few months I have disappeared from the blogland because, I have a very heavy schedule  working on my undergraduate project in photonic crystals! 
The today post is about a program that me and A made, for computing the different colour arrangements of granny squares!
And how this idea came to our minds? Well, yesterday, Robin from Crochet Nirvana,  asked me:

''I have 14 colors of thread and I'm making 3 color granny squares.
How many color combinations are there (including various order combos ie: (red, blue, green), (blue, green, red), (green, blue, red) etc...)
''

And then thought, why not making a program that not only computes that number, but also  writes down all these different combinations? Of course the program will work with  any desired number for the colours of thread! So, we immediatelly started cooperating and made a  Fortran program which can be found in the following adress:


 Now a few instuctions:
Once you click on the above address, a new blank tab opens and the following message appears on your screen:
Unfortunately, it's written in greek but it's easy to see that the second option 'Save File' is checked. Once you save the file on  your computer,  unzip the folder Granny_Squares. In this folder, there's a .exe file which is the program we made. Double click on it and the following command line appears:





Now let's say you have 5 colours of thread, you write 5 and then press enter.

 The number of different arrangements appears on the screen and the GRANNY_SQUARES.TXT file is created in the GRANNY_SQUARES folder. This txt file can be opened with any editor and looks like this:


 The 60 arrangements are printed in the txt file (In this tutorial I show you only the first 23)




 You can give any number of colours, you want, then run the program and see how many different granny squares you can make! Have fun!!!

***The new updated ver2.0,  includes the combos for a 3, 4 and a 5 square. You can check it out  here****

Please, leave me a message, telling me how you found the program, in which crochet project it helped you, or report me any bugs!
Related Posts Plugin for WordPress, Blogger...