Advertisement
buckeyevr

Untitled

Feb 21st, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. \\ Mobius.bvr\n\n// Strip\nstrip=parametricSurface\nstrip.setMinMax=t,0,6.6\nstrip.setMinMax=s,-1,1\nstrip.setEquation=x,((3+s*cos(t/2))*cos(t))\nstrip.setEquation=y,((3+s*cos(t/2))*sin(t))\nstrip.setEquation=z,(s*sin(t/2))\nstrip.setSegmentCount=40\nstrip.color=yellow\nstrip.spawn\n\n// Curve\ncurve=parametricCurve\ncurve.setMinMax=t,0,6.6\ncurve.setEquation=x,(3*cos(t)+0.2*cos(t)*sin(t/2))\ncurve.setEquation=y,(3*sin(t)-0.2*sin(t)*sin(t/2))\ncurve.setEquation=z,(-0.2*cos(t/2))\ncurve.setSegmentCount=40\ncurve.setThickness=0.1\ncurve.color=red\ncurve.spawn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement