main-painthints

There are bunches of hint on the project page for 2007 (here).

simple version

My “simplest possible” version is really simple. It basically randomizes the order that the strokes are drawn, and draws a fixed size splotch (that is roughly a thick diagonal line (3 pixels wide, 7 pixels long, 45 degrees diagonal) for each pixel. It randomizes the color a little bit (probably not enough to really make a difference).

It’s 103 lines of code, minimally commented, and produces output that looks like:

input.tgaoutput.tga

There’s a binary to experiment with in p:\course\cs559-gleicher\public\bin\2009\paint0.exe. A link here.

I hope that you do better.

Page last modified on September 24, 2009, at 01:27 PM