david meissner


CircleSquared

Press the space bar to generate a new image. (Click inside the image first so that the page has the focus).

CircleSquared is another program from The Armchair Universe, by A.K. Dewdney. Like Hopalong, the algorithm is described in the chapter Wallpaper For The Mind. The image is created by iterating a simple formula and assigning a color based on the result.

My version generates a random palette of two to seven colors plus black and white for each image. The parameters that create the image are shown at the bottom in case I want to recreate an image. The random palette can be seen by using the Javascript console in the browser to inspect the “colors” array.