
Memetic Variations C++
Screen capture from Memetic Variations 2003 mpeg4
After developing some experience with OpenGL and C++ working on the writing machine , I decided as the start of my PhD project to have another try at re-implementing the animation words as a piece of generative software. For this project I had a then rare 1920x1200 pixel 24 inch LCD screen and a Nvidia geforce 4 graphics card. The software worked like this:
- I selected a bunch of images and symbols to use, I used a perl program using an image processing library called PDL to analyse the images and generate a bunch of “keys”
- I then selected around 5000 words from a dictionary and used perl and ImageMagick to generate the text as images on a transparent background. C++ is really painful to try and do these sort of things in.
- The C++ program loaded in the keys and text, and selected a random key as a target. Each piece of text had a location on the screen that it was drawn towards. Something like the physics of a spring was used. The physical characteristics of the springs were different for each word and for each key image, so the same movements never repeated. When all the pieces of text were within a specified distance of their targets, the target switched to the next key. This gave the impression of an image slowly emerging then settling down for some time and then after a period of stillness flying apart.
The screen capture only gives a crude approximation of the output of the program, it is in a 4:3 aspect rather than 16:9 and only shows a few target images, and was recorded at around 12 frames per second.
The major frustration with this was C++, it made it very hard to try out different ideas, every time a different capability was required (like loading or dumping images) it would require finding an integrating a different library. It was very difficult in this environment to think laterally and experimentally.