I am drawing a number of paths. Together, they form an image. I am trying to give the whole thing a hand-drawn look. I have a way to achieve this but I can't help there is an easier one. What I am doing:
1. Draw a path, e.g. an oval with Path.Oval()
2. Use Håkan Lundgren's divideEven() function to create an array with additional segments around the path
3. Delete the original path
4. Draw a new path with the segments created with divideEven()
5. Loop through the segments and nudge them randomly to make the shape less regular
6. Apply path.smooth() to create a nice round look
Is there an easier way to accomplish this? Or a way to put all of these steps into a function? The function would then be given the path's name and modify it accordingly.
In example B in the attached image you'll find another problem I am trying to tackle: Creating a "fill" for a path not with a solid color but with little scattered irregular paths. How can I achieve this?
Thanks in advance for helping me out.
PS: I read that the development of scriptographer is discontinued. Would it be wise to develop in paper.js then? Can I save vector files to the hard drive from paper.js?