3D renderings of magic cubes were the departure point for my digital artwork CubeLife, where the magic cube images mutate through interaction with a heartbeat monitor. You can view stills from an early adaptation of this applet or go straight to a movie of the very first images in sequence (we had no order 5 cube at that stage so we mocked one up using a squentially-numbered 3D grid). The Java for the artwork (no longer supported in browsers) was written by Greg Turner, from my initial rough pseudocode. Images from the development phases show pleasing rendering accidents and several cubes in various colours, one of them (in blue) malformed because part of the integer sequence was missing. There’s also a short colour movie of early tests. This was all in 1998-99, so I’m archiving connected material and preparing background research on the cultural interpretation of number at the dedicated site for the cubeLife project.
UPDATE: Greg Turner recently rewrote the magic-cube generating part of cubeLife using processing.js, which will be made available soon.
In collaboration with Fania Raczinski:
Please note: although there is a refined version of this Java applet (developed in collaboration with Greg Turner) Java Applets are no longer supported in modern browsers. This applet enabled views of magic cubes from order 3 to order 12 in one window, an ability to change the cube's foreground and background colours, turn numbers on and off, and move it in 3D space.
The thumbnails above link to 3D visualisations of magic cubes, using a Java applet designed and written in 1998 by the late Ben Daglish, a friend of mine (programmer and musician).
I originally wrote the code to draw magic squares using Apple’s venerable original app-kit HyperCard. I used it for collecting and cataloguing the magic squares I found on the web and elsewhere. This was after years of experimenting with magic square permutations in squared paper notebooks. The interest stayed with me and led to the various later works based on magic matrices (squares and cubes). The research covers both aesthetic and mathematical (combinatorial) explorations, the latest of which can be found in our Symmetry 2021 presentation.
To run the original work (from around 1995) on a legacy Apple Mac (System 6.8 - 9 or Classic on OS X or in emulation) you can download my first magic square application (zip) or .sit file) - you'll need HyperCard Player (still available), if it's not already on your old Mac. It draws the magic line patterns formed by magic squares and provided a way of storing and examining magic lines. If you want more information on the subject or have a particular inquiry, the links on Harvey Heinz's excellent pages on number patterns is a good place to start.