buckeyevr

Untitled

Feb 22nd, 2019
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. //Example Sphere2Circles.bvr\n \n// Sphere\nhelix=parametricSurface \nhelix.setMinMax=t,0,6.4\nhelix.setMinMax=s,0,6.4 \nhelix.setEquation=x,(3*cos(t)*sin(s))\nhelix.setEquation=y,(3*sin(t)*sin(s))\nhelix.setEquation=z,(3*cos(s))\nhelix.setSegmentCount=30\nhelix.color=red\nhelix.spawn \n\n// Circle1\ncircle=parametricCurve\ncircle.setMinMax=t,0,6.4\ncircle.setEquation=x,(3*cos(t))\ncircle.setEquation=y,(3*sin(t))\ncircle.setEquation=z,(0)\ncircle.setSegmentCount=30\ncircle.color=blue\ncircle.spawn \n\n// Circle2\ncircle2=parametricCurve\ncircle2.setMinMax=t,0,6.4\ncircle2.setEquation=x,(sqrt(5)*cos(t))\ncircle2.setEquation=y,(sqrt(5)*sin(t))\ncircle2.setEquation=z,(2)\ncircle2.setSegmentCount=30\ncircle2.color=green\ncircle2.spawn \n\n
Add Comment
Please, Sign In to add comment