Daniel's Tumblog

  1. Chris Coyne created a small language for design grammars. These grammars are sets of non-deterministic rules to produce images. The images are surprisingly beautiful, often from very simple grammars.

    Pretty!

    Tags: GRAPHICS PROGRAMMING

  2. This file is both a HTML file and a literate Haskell program. If you rename it to .lhs you can compile it with GHC 6.6. This is a functional, if limited, JPEG decoder. It only decodes grayscale, 8-bit images and is overly sensitive to the options used.

    I thought that people might like to learn a little about the JPEG standard. Frankly, you can just skip all the code if you don't understand Haskell.

    Very interesting. Hope I have time to digest the whole thing at some point.

    Tags: HASKELL LITERATE-PROGRAMMING GRAPHICS JPEG