from piscript.PiModule import * init("quad", 80, 80) beginpage() center() scale(68) translate(-0.5, -0.5) gsave() newpath() moveto(0, 0) lineto(0.5, 1) lineto(1, 0) stroke(1, 0.6, 0.6) grestore() rad = 0.028 newpath() moveto(0,0) quadto([0.5,1],[1,0]) stroke() newpath() circle(0,0, rad) fill(0) newpath() circle(0.5,1, rad) fill(0) newpath() circle(1,0, rad) fill(0) endpage() flush()