GrowthMeasure.py

from pygeo import *

v=display(scale=40)

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

p3=Slider(line,color=BLUE,ratio=.7,pointsize=1.5)
p4=Slider(line,color=BLUE,ratio=-.1,pointsize=1.5)

GrowthMeasure(p1,p4,p2,p3,color=RED)
v.pickloop()