Friday, 28 June 2019

Penrose tiles - Deflation


What are Penrose Tiles?

I first came across Penrose tiles in Martin Gardner's "Mathematical Games" column in Scientific American in 1977. They were invented shortly before that by Professor Roger Penrose who was a brilliant British mathematician and cosmologist. Among many other things he "revolutionised the mathematical tools that we use to analyse the properties of spacetime".

There are two types of tiles: a kite and a dart:
A kite and dart on the left                                       An ace or fool's kite on the right.
They are constructed from a rhombus (equal sided parallelogram) with the angles 72° and 144°. From this it follows that they fit together as an ace, as shown on the right. It also follows that each can tile round a vertex because 5 x 72 = 360.

There are four other ways to tile kites and darts round a vertex without coming unstuck.

You can also see from the cut rhombus that the lengths of the sides as either Short or Long. It turns our that the ratio of the long side to the short side is the golden ration known as ##\phi = 1.61803...## (phi) to the ancient Greeks. They would have written it$$\phi=\frac{\left(1+\sqrt5\right)}{2}$$They probably got it from considering a rectangle that contained another rectangle inside it with the same aspect ratio. The smaller rectangle is drawn with a dashed line and the equation for  ##\phi## follows directly:
From the ratio of the sides of Penrose tiles it is easy to prove the the ratio of the areas of a kite to a dart is also ##\phi##.

My adventures with Penrose tiles.

Back in 1977, computers were a rarity and the best way to play with Penrose tiles was to cut out bits of paper and arrange them on a table. But the corners curled up, the slightest breath of wind would misalign them and any pattern would soon go wonky. I had some paper tiles in a tin for a long time and imagined  having a computer program where I could really keep them neat and tidy. I never really studied deflation. I have now. PowerPoint came along in 1987 and in 1990 I met Microsoft Windows for the first time. In those days it used to crash about once every ten minutes. I was writing graphics programs for the beast. PowerPoint 7.0 in 1995 had VBA programming. I caught on to that in 2019 and realised a month ago that it would be handy for drawing Penrose tiles. It is very. All the above pictures and the movie are done with VBA in PowerPoint (screen capture by Debut). The biggest tiling so far is that one at the end of the movie: a whopping 13,854 kites, 8,669 darts - 22,523 tiles in total. That's very near the limit. These big tilings are produced by deflation which was also discovered by the great professor Penrose back in ~1974 about 45 years ago.

More to come - watch this space!

Wednesday, 19 June 2019

Penrose tiles

6th generation deflated sun pattern
This is a Penrose kite and dart tiling (P2) deflated six generations from a sun pattern. Work in progress. 
Sun

More coming soon!

Monday, 3 June 2019

Windows Defender and Google Drive

Windows Defender and Google Drive (Backup and Sync) seem to be incompatible. When you get a new Windows computer Windows Defender is preinstalled. If you then install Google Backup and Sync it copies all the your Google Drive data onto the new computer but after that synchronisation does not work. You may not notice this! You will notice that there is a Windows Defender pop up menu in File Explorer, but no Google Drive pop up menu. New files and folders that you create in your Google Drive folder are not created in your Google cloud. Updates and deletions are not propagated.

I do not know why this is. Perhaps it's because Microsoft want you to use OneDrive which is their version of Google Drive.

The solution

The solution is very simple: Replace Windows Defender by Avira which is highly recommended free anti-virus software.  (Other anti-virus software may also work).

1. Stop Google Backup and Sync(see below under Read more)
2. Disable Windows Defender in Windows settings. Their are good instructions here.
3. Install Avira.
4. Restart Google Backup and Sync(see below under Read more)
Google Backup and Sync then resyncs your data (which might take a while) and the useful file / folder icons and the Google Drive pop up menu reappear in File Explorer.

I am not even sure that steps 1 and 4 are necessary.

I could not find this very important information about Google Drive and Windows Defender anywhere on the web nor did Google Drive email help (googleone-support@google.com) seem to be aware of it. Many solutions, including those from Google help, suggest deleting all the files in your Google drive folder(s), reinstalling Drive and resyncing from the web. This would be a huge waste of time. Google help suggested doing that twice!

https://windowsreport.com/google-drive-wont-sync-windows-10/ claims to answer the question: "How to fix broken sync with Google Drive in Windows 10". It gives seven solutions. The first suggests reinstalling Google Drive and recopying all your data. That might take days and why would it work at the end? The second invites you to turn off virus protection! Very stupid. Solution 3 is "Install the previous version of Google Drive". Why would that work? The drivel continues.

I was so pleased with Avira (I have used the free version before) that I decided to buy it. It seemed to be 9.95€ which was very fair. But then it turned out to be 9.95€ per month. I cancelled the subscription and will continue with the free version.