code.oneteneleven.com
codebase
openframeworks drawing examles
drawingExample4.

A wireframe example, using circles drawn along a line.

With fill set to ofNoFill(); you can see the structure of the stroke.

pts[i].x += ofRandom(-1,1);
pts[i].y += ofRandom(-1,1);

Gives the random jiggle effect, set this to 0 and you will get a smooth stroke.

float pct = j / 19.0;
ofCircle(a.x + pct * (b.x - a.x), a.y + pct * (b.y - a.y),width);

Gives the circles position & width.