I am trying to make paths using multiple strokes with different stroke widths. This works on paths with predetermined parameters, but when doing so on random paths only the first stroke width is used.
The random curve on the left will use the first width on both strokes whereas the one on the left uses both widths as specified. Is there a solution to this?
It's one of those situations where an uninitialized piece of memory happens to have the worst possible value in it. I fixed the initializer, but I don't think there is a work-around for v2beta2. v3beta3 is coming out soon. I just have one more bug to fix.
startshape Squiggle
path Squiggle {
MOVETO(0,0)
LINETO(1,1)
//red line at z 5
STROKE() [b 1 sat 1 h 0 z 5]
//blue line at z 0
STROKE() [r 90 x 1 b 1 sat 1 h 180 z 0]
}