Advertisement
Matthen

Hyperbolic Spinning Cube

Oct 7th, 2012
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. frame[n_] := Graphics3D[
  2. {Thick, Red, Line[{{-2, -2, -2}, {2, 2, 2}}], Opacity[0.1], White,
  3. Table[Rotate[
  4. Cuboid[{-1, -1, -1}, {1, 1, 1}], \[Theta] + 2 Pi n /30, {1, 1,
  5. 1}, {-1, -1, -1}], {\[Theta], 0, 2 Pi, 2 Pi/32}][[;; n]]}
  6. , Lighting -> "Neutral", Boxed -> False, PlotRange -> 2,
  7. ViewPoint -> {0, -5, 10}, ImageSize -> {300, 300}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement