screamyGuy
sketchBoard
MY first attempt at drawing on a computer was a grainy landscape created with the spray brush tool in Microsoft Paint. It was an unfortunate time in my life, and I'm feeling better now. Anyhow, most paint apps simply connect dots drawn by your mouse. Often, they'll offer exotic widths and opacities in the way they connect them, but this is a far cry from a real brush. To model a brush, I've created an digital aggregate of damped bristles that vary in size and number. Additionally, I've added some randomness that can emulate the random hatchings caused by scribbling repeatedly over a line. This should all appear in a drawing app below. The brush controls will appear in a separate window, so you may need to adjust your popup blocker.

You need to install or enable Java to view this content. Get it from java.com
Figure 1. Synthetic Brush Sketching Applet. Left click to draw within the border. Right click to flood fill. 'c' key clears. CTRL+z to undo.

Blender Integration

My ulterior motive for creating the brush was modeling stick figures for billboards in Blender. While fun, the post processing was a little tedious. First, the image alpha would need to be extracted and saved in a separate file that would have to be mapped onto a plane and scaled appropriately. This gets repetitive after a while, so I created a python script that automates the entire process. The two links below show it in action. The small one simply demonstrates the script, whereas the longer one shows the entire process of making the image at the head of the page. I recommend the longer one because it has significantly more sheep.

Header Creation Video (Flash - 5.2MB)
Brief sketchBoard Video (Flash - 1.5MB)

Files

These files are alpha quality. Before using the Blender plugin, ensure that you have entered the path to the plugin version of the executable and the location of the java runtime into the header of the python script. The plugin communicates through a socket interface, so your firewall may complain. Rest assured, it is only your own computer talking to itself.

source made with (Processing)
Python Import code use with (Blender)
Blender Scene File includes sketch script (now with textures!)
SketchBoard Executable for use with Blender script (updated 13 Nov 06)

by Matthew Kozak
All code GPL