Back from ICFP

October 12th, 2007 by Wouter

As I should be working hard to meet an upcoming deadline, I’ve spent a fair share of last week faffing about with various ways to generate pictures from Haskell. This was directly inspired by an exercise on Andres Loeh’s course on Functional programming at Utrecht University. I’ve written a few small Haskell programs to generate .ppm images, together with some shell scripts to turn .ppm images into .gifs, and subsequently build an animated .gif from the resulting files. The results can be fairly hypnotic, to say the least.

Hypnotic All we need to do now is bundle this code as an exercise, add subliminal messages about how great functional programming is, and ship it to our first-years. A lot of the code I wrote is directly inspired by Conal Elliott’s terrific article about functional images in The fun of programming.

To wind down, Graham suggested we watch Don Stewart’s XMonad talk from the Haskell Workshop.

2 Responses to “Back from ICFP”

  1. Peter Says:

    One might also avoid thesis corrections by creating some rather more eye pleasing imagey:

    MandyJulia

    See MP Jones – Composing Fractals: Functional Pearl

  2. Fritz Says:

    Well, if the old “Time Tunnel” TV show makes a comeback, you are a shoo-in for the visual effects director :) .

    (See this still picture for a rough idea of the graphics.)

Leave a Reply