buckeyevr

Untitled

Feb 21st, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. // Example Combined.bvr\n \n// Parametric curve\nhelix=parametricCurve \nhelix.setMinMax=t,0,13\nhelix.setEquation=x,(sin(t)*(3+0.2*sin(t/2)))\nhelix.setEquation=y,(cos(t)*(3+0.2*sin(t/2)))\nhelix.setEquation=z,(0.2*cos(t/2))\nhelix.setSegmentCount=70\nhelix.setThickness=0.2\nhelix.color=red\nhelix.spawn\n \n// Parametric surface\ncyl=parametricSurface\ncyl.setMinMax=s,-1,1\ncyl.setMinMax=t,0,6.6\ncyl.setEquation=x,(cos(t)*(3+s*cos(t/2)))\ncyl.setEquation=y,(sin(t)*(3+s*cos(t/2)))\ncyl.setEquation=z,(s*sin(t/2))\ncyl.setSegmentCount=20\ncyl.color=blue\ncyl.spawn
Add Comment
Please, Sign In to add comment