buckeyevr

Untitled

Feb 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. //bowling.bvr\n\n//Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,-10,10\nhelix.setEquation=x,(cos(t))\nhelix.setEquation=y,(sin(t))\nhelix.setEquation=z,(.3*t)\nhelix.setSegmentCount=70\nhelix.setThickness=0.3\nhelix.color=red\nhelix.spawn\n\n// Parametric curve\nh=parametricCurve\nh.setMinMax=t,-10,10\nh.setEquation=x,(1.5+cos(t))\nh.setEquation=y,(-1.5+sin(t))\nh.setEquation=z,(.3*t)\nh.setSegmentCount=70\nh.setThickness=0.3\nh.color=red\nh.spawn\n\n// Parametric curve\ne=parametricCurve\ne.setMinMax=t,-10,10\ne.setEquation=x,(3+cos(t))\ne.setEquation=y,(-3+sin(t))\ne.setEquation=z,(.3*t)\ne.setSegmentCount=70\ne.setThickness=0.3\ne.color=red\ne.spawn\n\n// Parametric curve\ni=parametricCurve\ni.setMinMax=t,-10,10\ni.setEquation=x,(4.5+cos(t))\ni.setEquation=y,(-4.5+sin(t))\ni.setEquation=z,(.3*t)\ni.setSegmentCount=70\ni.setThickness=0.3\ni.color=red\ni.spawn\n\n// Parametric surface\nsphere=parametricSurface\nsphere.setMinMax=s,0,3.14\nsphere.setMinMax=t,0,6.6\nsphere.setEquation=x,(10+2*cos(t)*sin(s))\nsphere.setEquation=y,(5+2*sin(t)*sin(s))\nsphere.setEquation=z,(2*cos(s))\nsphere.setSegmentCount=20\nsphere.color=black\nsphere.spawn\n\n// Vector\nvec=vectorDraw\nvec.setTail= 8,3,0\nvec.setHead=5,0,0\nvec.setcolor=blue\nvec.setRadius=0.25\nvec.spawn\n\n// Text\ntxt=text\ntxt.text=Time for Bowling!\ntxt.color=green\ntxt.position=4,0,8\n\n\n
Advertisement
Add Comment
Please, Sign In to add comment