2
$\begingroup$

I found the applet below on this webpage. I think their solution for moving objects in a 3D graph is pretty good, and in some ways better than moving 3 sliders.

I would like to mimic this functionality. Notice you are allowed to drag the the ball without the 3D view of the graph changing. You can only move the ball within its current plane but I still think its worth it. Notice when you drag anywhere else (off the ball) the viewpoint of the 3d graph changes as usual.

How would I go about doing this? It seems I would have to disable the view while I'm moving the ball, but not sure how to move the ball since locators are only in 2d. Ideas?

*I am dragging the object with my mouse in the gif. You can't see my cursor unfortunately.

enter image description here

$\endgroup$
  • 1
    $\begingroup$ I'm not sure, but I would say that this is only obtainable if we remove the perspective effect that mathematica uses by default when rendering 3D objects. Note that Mathamatica 11.2 has the new option ViewProjection-> "Orthographic" related $\endgroup$ – andre314 Dec 30 '17 at 14:22
  • $\begingroup$ Does this answer your question: 162108? $\endgroup$ – Kuba Jan 6 '18 at 8:37
  • $\begingroup$ @Kuba Thanks! That page had a link to another with the solution. stackoverflow.com/questions/8397468/… $\endgroup$ – Michael McCain Jan 6 '18 at 8:48
  • $\begingroup$ I'm not sure if I should mark it as duplicate as the solution is posted in stack overflow and not stackexchange. protocol? $\endgroup$ – Michael McCain Jan 6 '18 at 8:51
  • 1
    $\begingroup$ Perhaps you might find this link useful: mathematica.stackexchange.com/questions/162990/… $\endgroup$ – wmora2 Jul 7 '18 at 0:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.