Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //mobius_strip.bvr\n\n//Parametric surface\nt=parametricSurface\nt.setMinMax=s,-1,1\nt.setMinMax=t,0,6.5\nt.setEquation=x,((3+s*cos(t/2))*cos(t))\nt.setEquation=y,((3+s*cos(t/2))*sin(t))\nt.setEquation=z,(s*sin(t/2))\nt.setSegmentCount=30 \nt.spawn\n\n//Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,0,6.28\nhelix.setEquation=x,(3*cos(t)+(1/5*(-cos(t)*sin(t/2))))\nhelix.setEquation=y,(3*sin(t)+(1/5*(-sin(t)*sin(t/2))))\nhelix.setEquation=z,(1/5*cos(t/2))\nhelix.setSegmentCount=70\nhelix.setThickness=0.15\nhelix.color=red\nhelix.spawn\n
Advertisement
Add Comment
Please, Sign In to add comment