Make the example receive the options

Add another path example too
Use a valid stroke weight for the transformation
Abstract the real stroke weight calculation

Now the path gneerator receives the stroke weight per coordinate
Also fix a bug when using stroke weight after the transformation
is using the wrong rasterizer