If you use GIMP you could use RobA's fractalize path script. I think by making a selection and converting the selection to path. Then stroke and there you have it. At least that's how I envision it would work.