Is it possible to generate this kind of zigzag line between two lines? Like sewing two lines together.
the different sections would keep in different density but in similar gray level when people looking at it in a certain distance.
Thank you!
Oops, there still a bug here as pics show below.when two lines is wider than neighbor one, the zigzag line was attracted to the closest one.It make the image showing wrong figure. Can you help me to solve this problem?
Thank you!
You could just divide the left side curve and project the points to the right side curve to avoid those blank areas that curve closest point produces. Unless that is the look we are going for.
Thank you for this further discussion. Now I understand how to deal with these vertical or horizontal lines,but I still got some problem with spiral lines, as this pic showing,
spiral problem.gh (13.9 KB) spiral problem.gh.3dm (1.0 MB)
I was wondering is there a method to restrict two line strictly from beginning to end, like from center spiral to outside gradually?
And that are pics what I want to produce as below, these are two types.
I think the algorithm is that create a spiral first then using image sampler to catch gray data to define the width of the spiral. this step two curve (outline) are produced then I use your script to generate the zigzag line between them create right pic like Monroe.
But I don’t know how to get the left pic, I only got a referent GH file the make the horizotal line image which is similar to it. Pls see the attachment. Undulant Portrait.gh (202.0 KB)
Could you modify it to make it base on a sriral line one?