PointPencil.py

from pygeo import *

v=display(scale=70)

p1 = FreePoint(-33.,-33,-3,pointsize=1.5,color=WHITE)
p2 = FreePoint(40,30,4,pointsize=1.5,color=WHITE)
line=Line(p1,p2,color=BLUE)

PointPencil(line,color=RED,seg=True,pointsize=1.5)
v.pickloop()