Sunday, January 23, 2011

image processing

this is a script that I wrote in processing. there is an agent running a random path over the input-jpg, reading the color and brightness of every pixel that it touches. a line is drawn with a certain number of controlpoints, the color of the line is that of the pixel, the thickness of the line is related to the brightness of the pixel. adjustable parameters are the transparency, the speed of the agent, the number of pixels to analyze, the maximum distance of the line`s control points and the number of control points.

No comments:

Post a Comment