buckeyevr

Untitled

Feb 22nd, 2019
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. //Wenrui Zhao Yansiduo Hu Jacob Welter.bvr\n \n// Parametric curve\nc=parametricCurve\nc.setMinMax=t,0,13.2 \nc.setEquation=x,(3*cos(t)+1/5*cos(t)*sin(t/2))\nc.setEquation=y,(3*sin(t)+1/5*sin(t)*sin(t/2))\nc.setEquation=z,(-1/5*cos(t/2))\nc.setSegmentCount=70\nc.setThickness=0.1 \nc.color=red\nc.spawn\n \n// Parametric surface\nl=parametricSurface\nl.setMinMax=s,-1,1\nl.setMinMax=t,0,6.28\nl.setEquation=x,((3+s*cos(t/2))*cos(t))\nl.setEquation=y,((3+s*cos(t/2))*sin(t))\nl.setEquation=z,(s*sin(t/2))\nl.setSegmentCount=50 \nl.color=green\nl.spawn
Add Comment
Please, Sign In to add comment