buckeyevr

Untitled

Feb 22nd, 2019
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. //torus and circle.bvr\n\n// Parametric surface\ncyl=parametricSurface\ncyl.setMinMax=s,0,7\ncyl.setMinMax=t,0,7\ncyl.setEquation=x,((2+cos(t))*cos(s))\ncyl.setEquation=y,((2+cos(t))*sin(s))\ncyl.setEquation=z,(sin(t))\ncyl.setSegmentCount=20\ncyl.color=green\ncyl.spawn \n\n// Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,0,7\nhelix.setEquation=x,(0) \nhelix.setEquation=y,(sin(t)+2)\nhelix.setEquation=z,(cos(t))\nhelix.setSegmentCount=70\nhelix.setThickness=0.2\nhelix.color=blue \nhelix.spawn\n\n// Parametric curve\ncir=parametricCurve\ncir.setMinMax=t,0,7\ncir.setEquation=x,(3*cos(t))\ncir.setEquation=y,(3*sin(t))\ncir.setEquation=z,(0.4)\ncir.setSegmentCount=70\ncir.setThickness=0.2\ncir.color=red\ncir.spawn
Add Comment
Please, Sign In to add comment