http://pyx.sourceforge.net/examples/drawing2/parallel.html
should give you a good example. You can tweak the construction of the
parallel further (as indicated in the text), by specifying what to do
with corners.
Also, remember that you can decorate a path without stroking it
("draw" without stroke/fill), and that you deform a path and then work
with the deformed path
(http://pyx.sourceforge.net/manual/deformer.html#deformer.deformer.deform):
In the example, the deformed path (which is stroked in blue) would be
deformer.parallel(0.2).deform(p)
which you use to build upon.
Am Sa., 6. Juli 2019 um 17:17 Uhr schrieb S Joshua Swamidass
<[email protected]>:
>
> Rather, it seem it should be possible with the deformer module perhaps? What
> would such code look like?
>
> On Sat, Jul 6, 2019 at 10:15 AM S Joshua Swamidass <[email protected]>
> wrote:
>>
>> Is there any easy way to make a curved path line that is
>> adjacent/non-overlapping metapost to another curved path? It seems this
>> should be possible with the deco somehow. Thank you.
>>
>>
>>
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user