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$
5
  • 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, 2017 at 14:22
  • $\begingroup$ Does this answer your question: 162108? $\endgroup$
    – Kuba
    Jan 6, 2018 at 8:37
  • $\begingroup$ @Kuba Thanks! That page had a link to another with the solution. stackoverflow.com/questions/8397468/… $\endgroup$
    – B flat
    Jan 6, 2018 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$
    – B flat
    Jan 6, 2018 at 8:51
  • 1
    $\begingroup$ Perhaps you might find this link useful: mathematica.stackexchange.com/questions/162990/… $\endgroup$
    – wmora2
    Jul 7, 2018 at 0:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.