Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Animate[Graphics3D[{
  2. Thick, Green,
  3. {PointSize[Large], Point[{0, 0, 0 - Sin[d Degree]}],
  4. Point[{0 - Cos[d Degree], 0, 0}]},
  5. {Opacity[0.2],
  6. Sphere[{0, 0, 0}, 0.5], Orange},
  7. Thick, Blue,
  8. {PointSize[Large], Point[{0, 0, 0 - Sin[d Degree ]}],
  9. Point[{Sin[d Degree]/2, Cos[d Degree]/2, 0}],
  10. Point[{0 - Cos[d Degree], 0, 0}]},
  11. {Opacity[0.2],
  12. Sphere[{0, 0, 0.5}, 0.5], Yellow},
  13. Thick, Orange,
  14. {Opacity[0.2],
  15. Sphere[{0, 0, 0}, 1], Orange},
  16. {PointSize[Large], Point[{Cos[d Degree], 0, 0}],
  17. Point[{0, 0, Sin[d Degree ]}],
  18. Point[{Sin[d Degree], Cos[d Degree], 0}]
  19. }
  20. }] /.
  21. Sphere[x__] :> Rotate[Sphere[x], -d Degree, {0, 0, 0} {d, 0, 360}],
  22. AnimationRunning -> False]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement