Category Archives: toys

The proper way to use a computer

Remind me again; why are we still using mice and touchpads?

View on YouTube page

The Demon’s Paintbrush

Sweet Lord, my Genetic Algorithms course has ended. The giant pile of work is now behind me. I have to say that despite the large amount of work, the course has been one of the most rewarding in recent memory. There are a lot of exciting ideas in this field. The course instructor is David E. Goldberg, who is an influential luminary in the field.

For the course project, I decided to return to my decades-old interest in graphics programming by developing a genetic artwork program. The basic idea was to “breed” new images by figuring out which images in a random population are better than others. I needed a way to rank which images were better than others. Inspired by Flickr’s concept of interestingness, I decided to use color comparisons to popular images from Flickr.com as a way to rank images. An image that has a close match in color to a popular or interesting Flickr image is given a high rank. The genetic algorithm runs over successive generations to produce images with higher ranking. Eventually I got a lot of good results, and then a scary demon appeared:

Picture 69.jpg

The picture on the left is the Flickr image that the generated images resembled most. Lower numbers mean higher rankings. Look at 392. The demon got 4th place! Maybe that’s why he looks angry.

Here are some other interesting results I got with the demon’s paintbrush. Click to get to a more detailed writeup, including the many thousands of generated results:

UPDATE: Click here to see some giant tiled montages of artwork generated by the technique.

Haiku explosion

I was inspired by the random-haiku-spewing IRC chatterbot at work to make a version that works in Javascript. It uses the same phrase fragments that drive the IRC version:

I think it will probably only work in modern browsers. If it doesn’t work for you, don’t worry – you aren’t missing much.

Alternate version without the explosion effect:

(if you are seeing this in an rss reader, please come directly to the post, since the javascript probably won’t work in your reader)

(see also: GOOSE)

Beauty of math and music

I love this math/music toy that Jeremy told me about: The “Whitney music box”.

“A flash animation showing the relationship between chromatics, harmonics, and even primes and non-primes.”

“A musical realization of the motion graphics of John Whitney as described in his book “digital harmony”

Picture 12.jpg

Be sure you try the other variations. And especially try Variation 17, which lets you crank the spiral yourself. Hmm… “Crank the spiral?” Sounds like some kind of surfing euphemism.

The ghosts of BASIC past

Click the button for resurrected geekery.

Update:

From Jerry:
“What goose did:

Once upon a time, there was a great sinus who lived in a large goose in the clouds.

I’d really like to hear the rest of that story.”