buckeyevr

Untitled

Feb 22nd, 2019
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. //Wenrui Zhao.bvr\n \n// Parametric curve\nc=parametricCurve\nc.setMinMax=t,-10,10\nc.setEquation=x,(2*cos(t))\nc.setEquation=y,(2*sin(t))\nc.setEquation=z,(0)\nc.setSegmentCount=70\nc.setThickness=0.1 \nc.color=red\nc.spawn\n\n// Parametric curve\nr=parametricCurve\nr.setMinMax=t,0,6.28\nr.setEquation=x,(1.7*sin(t))\nr.setEquation=y,(1)\nr.setEquation=z,(1.7*cos(t))\nr.setSegmentCount=70\nr.setThickness=0.1\nr.color=yellow\nr.spawn\n \n// Parametric surface\nl=parametricSurface\nl.setMinMax=s,0,6.28\nl.setMinMax=t,0,6.28\nl.setEquation=x,(2*cos(t)*sin(s))\nl.setEquation=y,(2*sin(t)*sin(s))\nl.setEquation=z,(2*cos(s))\nl.setSegmentCount=30 \nl.color=green\nl.spawn
Add Comment
Please, Sign In to add comment