Advertisement
buckeyevr

Untitled

Feb 20th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. //ExampleSurface.bvr\n\n//Parametricsurface\ntor=parametricSurface\ntor.setMinMax=s,-3.1415926,3.1415926\ntor.setMinMax=t,-3.1415926,3.1415926\ntor.setEquation=x,((2+cos(t))*cos(s))\ntor.setEquation=y,((2+cos(t))*sin(s))\ntor.setEquation=z,(sin(t))\ntor.setSegmentCount=20\ntor.color=green\ntor.spawn\n\n// Parametric curve\ncirc1=parametricCurve\ncirc1.setMinMax=t,-10,10\ncirc1.setEquation=y,(2+cos(t))\ncirc1.setEquation=z,(sin(t))\ncirc1.setSegmentCount=70\ncirc1.setThickness=0.2\ncirc1.color=blue\ncirc1.spawn \n\n// Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,-10,10\nhelix.setEquation=x,(3*cos(t))\nhelix.setEquation=y,(3*sin(t)) \nhelix.setSegmentCount=70\nhelix.setThickness=0.2\nhelix.color=red\nhelix.spawn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement