Advertisement
Matthen

Mobius 3D Animation

Jun 4th, 2011
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. r[\[Theta]_,
  2. x_, \[Alpha]_] := {-Sin[\[Theta]], Cos[\[Theta]],
  3. 0} + {x Sin[\[Alpha]] Sin[\[Theta]], -x Cos[\[Theta]] \
  4. Sin[\[Alpha]], x Cos[\[Alpha]]};
  5. Manipulate[
  6. ParametricPlot3D[
  7. r[\[Theta], x,
  8. Pi (Tanh[\[Alpha] (\[Theta] - Pi)] + 1)/2], {\[Theta], 0,
  9. 2 Pi}, {x, -0.5, 0.5}, Boxed -> False, Axes -> None],
  10. {\[Alpha], 0, 1}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement