SphereSlider.py

from pygeo import *

v=display(scale=70)

p1 = FreePoint(0,3,-3,color=WHITE)
p2 = FreePoint(24,14,4,color=WHITE)


sphere=Sphere(p1,p2,color=BLUE,style=LINES)

SphereSlider(sphere,theta=PI/4,phi=PI/3*2,color=RED,pointsize=1.5)

v.pickloop()