Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CirclesOnASphere.bvr\n//Circles On A Sphere (Glen Qin)\n\n//Parametric surface\nsph=parametricSurface\nsph.setMinMax=s,0,3.14\nsph.setMinMax=t,0,6.6\nsph.setEquation=x,(3*cos(t)*sin(s))\nsph.setEquation=y,(3*sin(t)*sin(s))\nsph.setEquation=z,(3*cos(s))\nsph.setSegmentCount=30 \nsph.color=green\nsph.spawn\n\n//Parametric surface\ncirc=parametricCurve\ncirc.setMinMax=t,-4,4\ncirc.setEquation=x,(1.5)\ncirc.setEquation=y,(2.6*sin(t))\ncirc.setEquation=z,(2.6*cos(t))\ncirc.setSegmentCount=40\ncirc.setThickness=0.2\ncirc.color=red\ncirc.spawn\n\nc=parametricCurve\nc.setMinMax=t,-6,6\nc.setEquation=x,(3*sin(t))\nc.setEquation=y,(3*cos(t))\nc.setEquation=z,(0)\nc.setSegmentCount=40\nc.setThickness=0.2\nc.color=blue\nc.spawn\n
Advertisement
Add Comment
Please, Sign In to add comment