|
|
|
setSpherePos r phi theta
moves the turtle to the spherical coordinate position described by radius r, XY-angle phi and the inclination theta.
Example (partial wire sphere in 3D):
pu for [s 48 360 24] [ for [t 45 180 16] [ setSpherePos r s t pd ] pu ] pu for [t 45 180 16] [ for [s 48 360 24] [ setSpherePos r s t pd ] pu ] |
|
|
|