rob-art: Probabilistic Pen

A probabilistic pen for draw-something that uncannily resembles my freehand line:

The first image is a drawing around a convex hull, the other two are drawings around polylines.

How likely the pen is to turn left or right depends on how far it is from an ideal distance from the form it is drawing around. I’ve seen some mis-drawing so far (not shown), so the algorithm (or its parameters) needs some fine tuning, but I’m very pleased with how this looks.

Here’s how the deterministic pen draws.

Posted in Projects