I’ve been interested for a while now in “magic” folding cubes, a.k.a. flip cubes. I started a screensaver project involving them, though it’s long lain dormant. The idea was (is) to display a rotating/folding cube using OpenGL, and use the 9 faces to show photos.
However, one problem with this common 2×2x2 foldcube is that the nine composite faces have aspect ratios that don’t match most photos. Six of the faces are square (2×2), and the other three have a 2/4 aspect ratio. So you end up with either large blank areas, or you cut off big chunks of the photos (typically heads and feet! :-), or you stretch them in unattractive ways.
So, can we do this kind of folding cube that has a 2/3 aspect ratio, which would fit (or much more closely approximate) the aspect ratio of portrait or landscape photos? I toyed a bit with the idea of a folding cube consisting of 2×3 subcubes. The question is, can they be hinged together in a way that allows folding so that all subfaces form suitable composite faces? Surprisingly, a suitable arrangement of hinges was pretty easy to find. It allows all 36 subfaces to be used in six 2×3 composite faces. Wow… I would have been happy with some 2×3 faces and some 2×2. But having all the subfaces uniformly incorporated into six faces of the ideal aspect ratio is better than I expected.
The only drawback of this 2×3 folding cube with respect to the 2×2x2 one is that it can’t (I don’t think) be folded “through”. That is, you can fold it “inward”, and you can fold it outward, but you can’t keep folding it outward repeatedly, and get back to where you started. Unless I’m wrong.
I won’t know for sure until I find some physical cubes to try it with. Maybe some alphabet blocks? Or maybe I need to cut some out of wood…
What would be really fun is to finish the above screensaver project, in such a way that the cubes and their hinges are configurable (ideally, at run-time). Then I could try different hinge configurations and see how well they work. Maybe even try a 2×2x3 shape! 12 subcubes, 72 subfaces; What sort of composite faces? I’m sure there could be two and maybe even four 4×3 faces…
Maybe now that O3D has been launched, I should take this opportunity to try out O3D as a convenient platform for 3D graphics. I don’t know though… as I look into O3D in some depth, it doesn’t look any more convenient than OpenGL. Plus, being browser-based, it probably won’t be able to do screensavers, nor read photos from a local folder. We’ll see…