Archive for the ‘Algorithmic Art’ Category

Astronomical Art, Algorithmic Art, and Science Fiction

Thursday, February 11th, 2010

Sands of Mars
Sands of Mars

The Capricon Science Fiction Convention opens today and runs through Sunday. I have a fairly busy schedule at the con this year. First I will be participating in the convention’s art show. I will have seven works of art in the show:

In addition to the art show, I will also be providing two presentations for the convention: Algorithmic Art: Where Art Meets Math and The Art of Astronomy.

Algorithmic Art: Where Art Meets Math gives a history of algorithmic art, discusses some of the concepts and takes a look at some of the software tools available today to those interested in algorithmic art.

The Art of Astronomy is a straight forward history of astronomical art which also includes a discussion of how I have created some of my astronomical art as well as providing an overview of how anyone can use freely available graphics software to work with the raw image data available online from the various NASA robotic missions.

In addition to my two presentations, I will also be participating on the following panels.

Panel: Do You Still Believe in the Future?
Description: They say the “Golden Age of Science Fiction” is thirteen and when you’re thirteen all sorts of things are possible in the future. Now that you’ve grown up, chronologically, if nothing else, do you still view the possibilities of the future the way you did when you hit that golden age? Is it possible to retain that hope and optimism or are humans naturally cynical? With co-panelists Michael D’Ambrosio, Butch Honeck and Dermot Dobson as moderator.

Panel: Nuclear Fission or Fusion or ???: What Will Power our Future?
Description: Wind…Water…Coal…Steam…Oil. Over the centuries our fuel choices have changed as we’ve found more effective alternatives. At the beginning of the twenty-first century, the most effective alternative, nuclear fission, carries a strong negative, and fusion isn’t ready for prime time. What advances will fuel sources see in the next 50 years? 100 years? Will we ever run out of fuel? With co-panelists Jim Landis, Pat Nuccio, Isabel Schechter, and myself as moderator.

Panel: ISDC: The International Space Development Conference
Description: The International Space Development Conferences is coming to Chicago on Memorial Day weekend this year. Come learn what this professional conference has to offer and learn how you can attend at a discount. With co-panelists Raymond Cyrus and Tom Veal and myself as moderator.

Panel: Manned visit to Mars: Round Table Discussion
Description: Is it worth sending a man to Mars as opposed to unmanned probes? With co-panelists Brother Guy Consolmagno and Bill Thomasson as moderator.

See you at the con.

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Life Pulse - New Digital Abstract Art

Monday, February 1st, 2010

Life Pulse abstract art
Life Pulse abstract art

I must confess. I’ve not been very good at adding art, either old or new, to my web site. In fact I have a rather large backlog for each of the genres of art that I create. To make amends I plan to focus on adding my newest works of art over the coming weeks. The bulk of this art will be added to my Computer Art Gallery.

The first piece I am adding is Life Pulse. This work is currently on display at the Advocate Good Shepard Hospital in Barrington IL as a part of an exhibit of a selection of my digital art. For more, see Art Exhibit at Advocate Good Shepard Hospital in Barrington IL

Additional information about this digital painting and a wallpaper sized version are at Life Pulse abstract art page. Given that the original is 20 inches wide by 15 tall, not much detail is apparent in the wallpaper sized version. It does however provide a good representation of what the full size artwork looks like.

Check back in a day’s time to see what gets added next. And no, I haven’t yet decided what to add next.

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Diffusion Limited Aggregation

Thursday, August 27th, 2009

Diffusion Limited Aggregation
Figure 1.Diffusion Limited Aggregation Graphic

Over the weekend I spent some time experimenting with Diffusion Limited Aggregation. In computer graphics Diffusion Limited Aggregation is a method for growing or creating shapes that have a nature-made quality and which have a fractal dimension. In nature, this type of growth is seen in coral reefs and crystals. Note the dendritic structure in the illustration above - which reminds me somewhat of ice crystals on a window pane. The concept’s origin is with the paper Diffusion-Limited Aggregation, a Kinetic Critical Phenomenon by T. A. Witten and L. M. Sander that appeared in an 1981 issue of Physical Review Letters.

The growth of structure seen when using the Diffusion Limited Aggregation method results from the random deposition of particles on a surface. The basic rule is that whenever a moving particle finds itself adjacent to a stationary particle, it too becomes stationary and a new moving particle is created to take its place. A typical growth simulation will start off with one or more seed particles - particles which are already stationary. A number of moving particles are then added to the system. The movement of the individual particles is random.

The random motion that the particles undergo is described as a random walk. The path that an individual particle takes is determined by a random process with the two components being direction and distance (think vector). In my implementation of random motion, collisions between moving particles was ignored. The nature of the random walk is related to Brownian motion. Brownian motion is the type of movement exhibited by particles suspended in a liquid medium. Figure 2 below shows the random motion of three particles using the same algorithm as used in the Diffusion Limited Aggregation process that created the growth in the Figure 1.

Brownian Motion example
Figure 2.An example of Brownian Motion

As you can see in Figure 1, the Diffusion Limited Aggregation growth is rather symmetrical. This particular growth would have been more symmetrical except that there were additional growths, cropped out of the image shown, that captured particles that would have otherwise been deposited on the growths shown. There are several other ways to obtain non-symmetrical growths. One method for achieving directional growth is by omitting one or more of the eight moveable directions on the rectangular grid. Another method would be a preferential bias in the detection of adjacent stationary particles.

Diffusion Limited Aggregation can be a very inefficient way, in terms of CPU cycles, to generate growths. Depending on the size of the playing field, the number of seeded stationary particles, and the number and nature of the living particles, a Diffusion Limited Aggregation algorithm can take quite a long time to create a growth of any meaningful size.

Writing a program to create imagery using Diffusion Limited Aggregation was instructive but I do not know whether or not I will ever make artistic use of this technique. However, I have yet to attempt a 3D version which should offer greater artistic possibilities.

For further information see:

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Algorithmic Portrait Painting Technique

Tuesday, August 26th, 2008
Algorithmic John McCain Portrait
Algorithmic John McCain Portrait

The picture above is a cropped version of the initial result of my experiments into creating an algorithmic portrait painting technique. The program I’ve created samples an existing photograph at a predefined resolution. The program then uses that color information to paint a new pixelated version of the picture using roughly rectangularly shaped recursive brush strokes. I allow the program to randomly choose colors for the image background.

My development and testing of this technique has been done on a rather small scale - working with an image of just 542 by 691 pixels. My next step will be to try scaling this technique up so that I can use it to produce portraits that are thousands of pixels wide/tall. I also want to modify the routines that produce the painted background so that the colors chosen are keyed to the predominant colors of the image’s foreground subject.

Assuming that I am successful with scaling up the program to produce large pictures, I will probably experiment with it on non-portrait images that have a strong foreground - background contrast. I must say that so far this project has been fun, though at times aggravating as I struggle to produce code that creates the output that I visualize.

Ad Astra, Jim

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Is It Art?

Tuesday, August 12th, 2008
Lissajous Vase Algorithmic Art
Lissajous Vase - an example of Algorithmic Art

Whether the above illustration is art or not can be debated. There are some who argue that any image that is produced by an algorithm is not art. On the other hand there is a group of artists known as algorists who produce what is referred to as algorithmic art. No matter which side of the “Is It Art” debate you are on, I can say that I had fun creating this illustration.

A while back I wrote about my Doomed Diskettes and the task of deciding what files to keep. When I began my adventure with Processing and wrote about that beginning in Processing: Finding Beauty in Math, I made reference to a Basic program I had written some 15 years ago that produced Lissajous curves. Going back and searching through the files I had copied to my hard drive from all those diskettes that I had tossed, I found the source code for that program. Though my Basic programming skills have seriously atrophied over the years, I was able to figure out what exactly I was doing in that program and recreate the graphic drawing component in the Processing environment.

I say I had fun creating the program and the “art” it produces. Perhaps this is a result of a sense of nostalgia on my part. Prior to the advent of paint programs, like Photoshop, digital imagery was produced programmatically - primarily with a program directing a plotter. That is, the artist/author/programmer (or is that programmer/author/artist) implemented an algorithm in program code and then ran the program to produce the visual output. While the artist was not physically involved in the application of ink to paper, that application was only possible as a consequence of the artist’s mental conception of the final image and the translation of that concept into program code.

In one sense algorithmic art is conceptual in that the artist/programmer has an idea in mind of what it is they want to accomplish or say. The artist then sets about creating the instructions to produce that image in order to bring it to physical life.

Artist Sol Le Witt, who was one of the originators of conceptual art, would make large scale drawings on gallery walls. However these drawings were not actually done by him but were rather produced by others who were carrying out instructions Sol had written down. In a sense the instructions were a program and those who actually carried out the physical drawing function were nothing more than human computers - following instructions and generating output. On the subject of conceptual art, Sol Le Witt had this to say:

“When an artist uses a conceptual form of art, it means that all of the planning and decisions are made beforehand and the execution is a perfunctory affair. The idea becomes the machine that makes the art.”

So, is it art? I suspect that art, like beauty, is most likely to be found in the eye of the beholder.

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Context Free Art

Saturday, May 17th, 2008
Context Free Art
Context Free Art Example

My favorite aspect of digital art is the seemingly endless possibilities for mental and artistic exploration it provides. For example, I have only just begun to learn how to use Context Free. Context Free is a graphics program that creates an image based on a set of written instructions. These instructions are termed a grammar and consist of rules and parameters. These rules are saved in a Context Free Design Grammar (CFDG) file.

For me, this is reminiscent of the way computer graphics were created back in the early days. Unfortunately I do not recall the name of the programming package I first used to create graphics on an Apple II+ back circa 1982. Having no input device other than the keyboard meant that the only way to create graphics was programmatically.

The colorful geometric figure above was created using Context Free. The program I wrote to create this illustration is shown below.

// A sample Context Free CFDG
startshape Art
rule Art {
draw{ hue 120 sat .5 }
}

rule draw {
SQUARE{ b -1}
SQUARE{ s .995 b 1 }
draw{r 30 s .995 hue +1 }
}

In brief, the above program works as follows. To begin, the startshape directive tells Context Free the name of the rule to start drawing with. In this case the name of the rule is Art.

The rule Art consists of one statement: an instruction to execute the rule named draw. You will note that the draw statement has two parameters. The hue parameter specifies the color to draw and the value of 120 corresponds to green. The sat parameter specifies the saturation of the color, in this case 50%.

At this point control is passed to the draw rule. The first statement, SQUARE, tells Context Free to draw a square. The parameter b is used to specify brightness and the value of -1 corresponds to black. So a solid black square is drawn. The second statement, SQUARE, tells the program to draw another square. In this case there are two parameters. The s parameter is used to specify the size percentage. In this case .995 tells Context Free to draw this square at 99.5 percent the size of the last square drawn. The parameter b, used to specify brightness, is given the value of 1 which corresponds to white. So a solid green square is drawn. If this were the last statement, then the result would be a simple solid green square (from the second SQUARE statement) with a black border (from the first SQUARE statement).

The magic happens in the final statement. The draw rule is directed to execute the draw rule. When a statement or function calls itself, this is referred to as recursion. The beauty is that in this new call to the draw rule we can modify the initial drawing conditions. The r parameter tells Context Free that the first thing it should do is to rotate the drawing angle by the number of degrees specified, in this case 30. The s parameter instructs Context Free to reduce the size of whatever is to be drawn to 99.5 percent of what was drawn last. Finally, the hue parameter says to increment the value of the hue by 1.

The draw rule is then executed using these new initial conditions. And when the statement to call the draw rule again is encountered, the initial conditions are again altered by the parameters. And again and again and again. The draw rule will be called over and over until the size of what is being drawn shrinks down to nothing. When this last draw is executed, it returns control to the draw that called it and so on all the way back up the chain until control is finally returned to the Art rule.

Writing programs for Context Free can give you a nice mental workout. The program shown above is a very simple one that just scratches the surface of what is possible. You really should give this software a try. And I’ve saved the best for last: the Context Free software is free. You can download a copy for yourself from the Context Free web site.

Go ahead - give it a try. Jim

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It


Imaging by Numbers Art Exhibit

Saturday, March 29th, 2008
Mary and Leigh Block Museum of Art
Mary and Leigh Block Museum of Art

Today I visited the Mary and Leigh Block Museum of Art at Northwestern University. I was there to see the Imaging by Numbers: A Historical View of the Computer Print art exhibit.

Quoting from the Imaging by Numbers exhibition flyer:
“This groundbreaking exhibition examines the intersection of digital technology and the graphic arts by surveying the use of computers in printmaking and drawing. From electronic waveforms and plotter printer drawings to experiments with computer code and software and inventive combinations of digital and traditional printing techniques, Imaging by Numbers features approximately 60 works by nearly 40 artists… from the 1950’s to the present.”

There were works by Manfred Mohr, Jean-Pierre Hébert, Ben Laposky, Otto Beckmann, Michael Noll, Kamran Moojedi, C. E. B. Reas, and Richard Helmick to name a few. There were also two works by Joan Truckenbrod who taught the first computer graphics class at Northern Illinois University. I am happy to say that I was fortunate enough to get into that graduate level course. You can read more about this in my article Recollections of my Introduction to Computer Graphics.

Another smaller exhibit that is running concurrently is Space, Color, and Motion which features animated images and one very cool computer controlled magnetic ball creating patterns in a sandbox.

If you are in the Chicago area and art thinking of seeing the show, do it now because the exhibit ends April 6. Admission is free! The Mary and Leigh Block Museum of Art is located on the grounds of Northwestern University at 40 Arts Circle Drive, Evanston, IL.

I found out about this art exhibit by way of the American Art American City Exhibit Calendar web site created by the Terra Foundation for American Art. The calendar consists of listings of current exhibitions in Chicago area art museums.

Here is a list of links you may find useful.

Ad Astra, Jim

Bookmark it:  Stumble It  Bookmark this on Delicious  Digg This  Technorati  Reddit Tweet It