4 signal.signal(signal.SIGINT, signal.SIG_DFL)
7 from bezier import BezierSegment
20 #ts = np.linspace(0, 1, 40)
22 #thetas = np.linspace(0, tau, 40)
23 #c0 = curve( color=color.red, pos = [ m.edge.point(th) for th in thetas ] )
24 #c1 = curve( color=color.blue, pos = [ m.midline.point(th) for th in thetas ] )
27 c2 = curve( pos = [ m.point(v,w) for w in ws ] )
30 c3 = curve( color=color.yellow, pos = [ m.point(v,w) for v in vs ] )
34 c4 = curve( color=color.blue,
35 pos = [ m.point_offset(v,w, 0.1) for w in ws ] )
38 c3 = curve( color=(1,0,1), pos = [ m.point_offset(v,w, -0.1) for v in vs ] )