Message Boards Message Boards

How would I make two variables run at the same time in a Manipulate?

Posted 10 years ago

So I'm trying to make a very basic rabbit eat a carrot using Graphics3D and Manipulate. So I need the arms to move at the same time the carrot does, even though they have different ranges, thus different variables controlling them. Is there a way to link the two variables so they move together?

POSTED BY: Kacey Price

One way (without seeing your code) to do this might be to only use one variable with its given range and to use Rescale to modify the range for use as the other variable.

http://reference.wolfram.com/mathematica/ref/Rescale.html

POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract