uSphereSlices.py

from pygeo import *

v=display(scale=4, camera_vector=(0,1,-1))

u1=uSlider(theta=PI/3,phi=2*PI/5)
u2=uSlider(theta=-PI/2,phi=-PI/5)
line=rLine(u1,u2,seg=True,color=WHITE)
sheaf=PlaneArray(line,scale=2,density=5,linewidth=.05,color=BLUE,grid_scale=20)
uSphereSlices(sheaf,color=RED)

#reference objects
uSphere()

v.pickloop()