Cut adrift

You’re walking along a woodland path. Suddenly you hear a recipe for yogurt being recited somewhere in the bushes. A short while later, you hear an apology for kicking you in a tender place emerging from the trees. What is going on?

Cut Adrift is an installation by Edinburgh artist Mark Haddon. Over the past 20 years or so, Mark has collected handwritten notes that he has found lying on the ground. The notes are a varied mix: letters, recipes, instructions, apologies…  Mark recorded people reading these notes out loud. As part of Sanctuary, a 24-hour art event in southern Scotland, he and I arranged that the passing of people along a path would trigger the playing of these recordings from a sound system hidden in the undergrowth.

I helped Mark with the technical side of the project. We used a Teensy microcontroller board with an audio adaptor board audio shield to store, sequence, and play the audio clips. The signal went to a 12 V audio amplifier and thence to a pair of loudspeakers. We used a PIR (passive infra-red) motion detector to detect people walking by. The output from the detector was connected to one of the input pins of the Teensy. The whole thing was powered using a 12 V lead-acid battery. The battery, Teensy, and amplifier all went in a plastic storage crate to protect them from the weather.

The passage of a person triggered one audio clip. The choice of which clip to play was random, but subject to a rule that made a clip more and more likely to be chosen the longer it was since it was last played. My program held the clips in a queue. When a clip was needed, there was a 50% probability that the first clip in the queue would be chosen, a 25% probability that the second clip would be chosen, and so on as far as the 5th clip. Clips lower in the queue than this would never be chosen. Once the chosen clip had been played, it was put at the bottom of the queue and all the other clips moved up one place.

I’m grateful to Jen Sykes of Glasgow School of Art for pointing me in the direction of the Teensy and its audio board.

 

 

A creative atmosphere

It’s sometimes said that if you sit an immortal monkey in front of an equally durable typewriter and leave it to tap randomly away at the keys, then eventually it will produce the entire text of Richard III (or any other Shakespeare play of your choice), completely by chance. All you have to do is wait long enough.

I was thinking about this one day, and also thinking about air molecules. In the room I’m sitting in at the moment, there are at least 1,000,000,000,000,000,000,000,000,000 air molecules, all frantically dashing around bumping into each other. How often, I wondered, do little clusters of these molecules fleetingly arrange themselves, by chance, in arrangements that we would regard as being somehow regular or remarkable?

It’s not possible for me to directly observe air molecules, so instead I used my computer to make a 2-dimensional simulation of some atoms of gas doing what atoms of gas do. I set it going, and waited…and waited…and waited…

I promise you that my simulation didn’t involve any secret forces drawing atoms towards certain positions. The movements and collisions of the atoms all occurred in accordance with the laws of mechanics. But I did cheat a little. Can you figure out how?

Molecules and atoms

In case you’re fidgeting on your chair wondering why I started talking about air molecules but finished talking about gas atoms, let me explain.

Nearly all of the air is nitrogen and oxygen. Nitrogen and oxygen atoms are essentially spherical. But in the air, nitrogen atoms are bonded together in pairs to form nitrogen molecules that are, roughly speaking, a stubby rod shape. The same goes for oxygen. Now a collision between two moving rods is much more complicated than a collision between two spheres, because the rods can spin end-over-end in a way that spheres can’t. In fact, I’m not sure that I know how to do the calculations. As the point of the video could be made just as well using atoms rather than molecules, I did the simulation using atoms. If you like, you can think of them as atoms of helium or argon, which do go around on their own.

Irregular, but not random

irregular but not random In a previous post I showed some examples of irregular polyhedra that I’ve been making out of paper. These polyhedra were all based on points distributed quasi-randomly over a sphere. At each point, my program placed a plane tangent to the sphere. The result of the intersection of all of those planes was an irregular polyhedron.

The 47-hedron in the picture above was made in a rather different way. It’s certainly irregular, but the process that created it was not at all random. As in the previous polyhedra, the starting point was a sphere with a number of points distributed over it. But this time, the points were placed according to a simple and perfectly regular rule.

Imagine you you draw a line from one pole of a sphere to the opposite pole, winding sort-of-helically around the sphere. Then place a number of points at exactly equal spacings along this line. In the examples below, there are 43 points.

helical polygon 2.5If your quasi-helix had 2.5 turns, the result would look like the diagram on the right. The numbers are where the points are placed on the imaginary sphere; the resulting polyhedron is also drawn. The helical structure is very clear, but notice the irregularity of the faces: for example, the lower edges of faces 26, 27, and 28 are all different. This is because the radius of the quasi-helix is not constant, so turns of the helix near the poles will have fewer faces on them than turns near the equator, which means that the way the numbers on one turn line up with the numbers on the previous and subsequent turns keeps changing.

If we increase the number of turns in the quasi-helix to 5, the helical structure is still clear:helical polygon 5With 7.5 turns in the quasi-helix (below), adjacent-numbered faces are now so far apart that the faces on the turns above and below them are starting to intrude into the spaces between them. See, for example, how faces 27 and 28 are almost pushed apart by faces 19 and 35.helical polyhedron 7.5By the time we have 10 turns (below), consecutively-numbered faces are so far apart that faces from the turns above and below often meet between them, making the helical structure hard to discern (see, for example, how faces 34 and 22 squeeze in between faces 28 and 29). The polyhedron is beginning to look quite irregular, but note that consecutively-numbered faces are still more similar to each other than they are to the other faces.

helical polygon 10The 47-hedron on the right (same as at the top of the post) was based on a quasi-helix with about 12.5 turns. At first sight, it looks quiteirregular but not random random, and it’s certainly irregular, but there are still visible similarities between faces if you look hard enough. Compare, for example, the mid-blue and light-blue faces at roughly 10 o’clock and 2 o’clock respectively. And what about the dark-blue and very dark-blue faces just below the centre? One looks suspiciously like a rotated version of the other – and it is! In fact the whole polyhedron has an axis of 180° rotational symmetry. This suprised me when I spotted it, but it shouldn’t have. A helix has 180° rotational symmetry (turn a corkscrew upside down and it looks the same) so it’s inevitable that shapes based on a helix will have that symmetry also.

 

 

 

 

 

Most irregular

83-hedron
83-hedron (about 35 cm across)

It’s a remarkable fact that there are only five regular convex polyhedra, that is, solid shapes whose flat faces are all identical regular polygons. The most familiar example is the cube, with 6 identical square faces. There are other, less regular but still orderly polyhedra, such as the truncated icosahedron, seen in a bloated form in some footballs.

But what, I wondered, about truly irregular polyhedra, where every face is a different irregular polygon? What would they look like? Last January I set out to make some and find out.

My irregular polyhedra are all based on spheres. Imagine placing a number of dots on a sphere. At each dot, let there be a plane just touching the sphere. These planes will all intersect each other, and if we remove the parts of each plane cut off by the neighbouring planes, we’re left with a polyhedron, with one face for each dot that we placed on the sphere. The nature of this polyhedron depends upon how the points are distributed over the sphere. In the polyhedra shown here, the placement of dots was random but subject to certain constraints.

43-hedron
43-hedron (about 35 cm across)

I wrote some software that allowed me to choose how many faces I wanted, and to regulate how evenly spread over the sphere the dots were. I could preview the resulting polyhedron, and when I saw one that I liked, the program produced a set of images of the faces of the polyhedron, with numbered tabs on them. Then all I had to do was print them, cut them out, fold the tabs, and glue them all together. This is not a task for the impatient: the 83-hedron at the top took about 3 days.

The polyhedra shown here differ principally in how evenly the dots were spread over the imaginary internal sphere. After randomly placing the dots, the program simulated repulsion between them (as if they were electric charges). The longer this repulsion process went on, the more evenly distributed the dots became. For the 29-hedron, no repulsion process was done, and for the 43-hedron, the process was allowed to continue until the dots stopped moving; presumably this is now (in some undefined sense) as regular as a 43-hedron can get.

very irregular small
29-hedron (about 30 cm across)

For the 29-hedron (right), I took advantage of the four-colour map theorem, which tells me that if I want to colour the faces such that no two neighbouring faces have the same shade, 4 shades of card are all I need. I leave it to you to convince yourself that if this theorem is true for flat maps, it must be true for maps on balls too. (If you don’t see where maps come into it, think of each face of the polyhedron as a country on a political map.)

None of this would have happened had it not been for a visit to Jenny Dockett to talk about her Illuminating Geometry project. It was while talking to Jenny that the idea for making irregular polyhedra came to me.

art walk polyhedra.
Exhibition at Porty Art Walk

In 2015 I exhibited these polyhedra, and others, at Mini Maker Faire and Porty Art Walk in Edinburgh.

I wrote the software in Python. The internally-illuminated shapes are made out of layout paper (very thin paper), and the 29-hedron is made of thin card. I used UHU Office Pen glue (not to be confused with UHU Pen glue). This glue doesn’t wrinkle the thin paper, and dries at about the right speed, but has proved to be somewhat unreliable in humid weather.