buckeyevr

Untitled

Feb 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. // Example Combined.bvr\n \n// Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,0,10\nhelix.setEquation= x, (3*cos(t))\nhelix.setEquation=y, (3*sin(t)+2) \n\nhelix.setEquation=z,(0)\nhelix.setSegmentCount=50\nhelix.setThickness=0.2\nhelix.color=red\nhelix.spawn\n \n// Parametric surface\ncyl=parametricSurface\ncyl.setMinMax=s,0,6.5\ncyl.setMinMax=t,0,6.5\ncyl.setEquation=x,((2+cos(t))*cos(s))\ncyl.setEquation=y,((2+cos(t))*sin(s)+2)\ncyl.setEquation=z,(sin(t))\ncyl.setSegmentCount=50 \ncyl.color=blue\ncyl.spawn \n\n// Parametric curve\nhelix2=parametricCurve\nhelix2.setMinMax=t,-10,10\nhelix2.setEquation=x,(0)\nhelix2.setEquation=y,(sin(t))\nhelix2.setEquation=z,(cos(t))\nhelix2.setSegmentCount=50\nhelix2.setThickness=0.2\nhelix2.color=green\nhelix2.spawn
Advertisement
Add Comment
Please, Sign In to add comment