4 p
= path
.line(0, 0, 2, 2)
5 p
.append(path
.curveto(2, 0, 3, 0, 4, 0))
7 c
.stroke(p
, [deformer
.smoothed(1.0), color
.rgb
.blue
])
8 c
.stroke(p
, [deformer
.smoothed(2.0), color
.rgb
.red
])
9 c
.writeEPSfile("smoothed")
10 c
.writePDFfile("smoothed")