# Cayley graph 3D

• Sharebar

I was in the keynote session of AAMT conference. In the keynote, the mathematician Hanna Neumann was mentioned. I immediately googled and started reading about her on Wikipedia.

While reading, my thoughts are like the hyperlinks that go everywhere, then suddenly I saw and clicked into the Group theory, where I found the Cayley graph that caught my attention.

It is easily recognisable that this cayley graph is a fractal image, which can be produced with a simple recursive procedure in VRMath2's LOGO language.

The graph has four identical branches. Therefore, we only need to analyse one branch then when it is done, we can rotate the turtle to make other three branches.

Let's look at the top branch that starts from e to b.  From e to b, we forward the full length, then it splits into three branches with the length reduced in half.

With this rule in mind, I then wrote the following procedure:

Then I came up with an idea to make it a 3D fractal image. If I insert a scaled cube after every forward, what would it be like? It turned out to be quite nice actually with 3 more lines of code (lines 5-7).

Please leave a comment and let me know what you think. :-)