Reflections in spheres
I love mirrors. They can create some very interesting mathematics. It is therefore surprising that although I have been working with raytracers (which do reflection very well) for quite a long time that I have never used them to look at reflections. I have finally dealt with that omission.
The image above looks at four spheres placed at the corners of a tetrahedron so that they are nearly touching. Without the mirror finish they would look like this:
In order to get more pictures, and to help understand the pattern of reflections I now started to colour the surroundings. As we look at the spheres our gaze is bounced around until it eventually heads away from the spheres again. The question is, at that stage what direction is our view going. In other words, what are we actually looking at within all the reflections? To show this I created the set up below:
As you can see the spheres are in a yellow bucket with a blue bottom and red top. The position of the camera is shown with a black cuboid and the light is the white sphere. The red top will be pushed over the model for the images and the light switched on! Note that I place the light behind the model so we would not see it in direct reflection. So what do we get?
Now we can see whether we are really looking up (in red) level (yellow) or down when we look at the reflections. Can you look at the image and work out more about the paths various lines will take before heading out? The beautiful structure comes in as there are paths that take a very long, or even infinite time to leave the spheres.
A second image looks for right and left:
Finally just for fun, an image where the back sphere is glowing so you can see how it is reflected around the front three spheres:
For more on the mathematics of sphere and circle reflections, and how they can be generalised to whole geometric worlds (with great images) see Indra’s Pearls, you can also use the blender file for these scenes.
A very nice post! However, the link for the “Indra’s Pearls” is broken – it has some leftover code that crept into tags.
Thanks! Fixed now.
Thanks so much for the blender file !
Plus, nice to discover your blog, I’m keen on maths and CG.
No offense, but we hate your blog.
http://wehateyourblog.com
Have a nice day.
http://en.wikipedia.org/wiki/Indra%27s_net
for context
and for equations and image:
http://www.hiddendimension.com/FractalMath
Pingback: Magnetic Klein Quartic « Maxwell's Demon