Questions relating to the dynamic family of functions in Mathematica, such as Dynamic, DynamicModule and Manipulate.

learn more… | top users | synonyms

13
votes
0answers
339 views

How can I trace a functional expression's evaluation visually?

Ok, so the goal is to visualize the execution of this expression foo /@ {3 + 1, bar /@ {1 + 2, {4 + 7}}} in the following fashion using nested rectangles with ...
9
votes
0answers
340 views

How to improve these WASD + mouse look 3D controls?

Insipred by this question and the corresponding answer I've written a code for full-screen exploration of 3D scenes using standard WASD and mouse look controls. Here it is. ...
5
votes
0answers
35 views

How to robustly apply ToBoxes to a Dynamic expression?

Inserting a Dynamic object in a boxform expression messes up syntax colouring. See the following example. where the variable ...
4
votes
0answers
47 views

FlipView can't handle CurrentValue[“MouseOver”]. Kernel crash

Is this code crashing your Mathematica session? (it can so look out :P) ...
4
votes
0answers
226 views

Front-end glitch when interacting with dynamic content

This is now bugging me too much to ignore it anymore. When I interact with a notebook that has dynamic content, for example moving a slider, Mathematica regularly brings other open notebook windows to ...
3
votes
0answers
107 views

DynamicModule, SaveDefinitions and global functions

Unfortunately, I had not checked stackoverflow, because there, the exact same behavior was already reported. Please see the Q&A "SaveDefinitions considered dangerous". Up-front, I'm on Ubuntu ...
2
votes
0answers
86 views

How to restrict the mouse cursor to stay within a box?

I'm trying to use Mathematica to write small games, and I find that it would help to restrict the player's mouse into the game window (just like other games do). Is there any way to achieve this? ...
2
votes
0answers
74 views

Is there a function similar to SQL's Iserror?

I have an output which I want to hide if there is an error otherwise display it. The output is a Dynamic[output] so I can't simply use something like ...
1
vote
0answers
73 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
1
vote
0answers
109 views

Problem with dynamic interaction between functions?

I have written two functions one for creating list of InputField ...
1
vote
0answers
133 views

Having Dynamic evaluated when off screen

As the title says, I want a cell containing the dynamic solution of a DAE-System to be available over the whole document. I use a lot of different Plots and Sliders scattered over the document and it ...
0
votes
0answers
44 views

Fold Dynamic Function

I'm making on a demo working with differential equations as functions of two variables (x and y). The demo will have to Fold the differential equation with an initial y-value and a series of x-values. ...
0
votes
0answers
37 views

Dynamic and Graphics3D crash in Ubuntu

Im running ubuntu 12.04 and sometimes mathematica 9.0 crashes when I have Dynamic Content or graphics 3d. I'm wondering if this has happened to anyone else? I wouldn't be surprised if this is a ...
0
votes
0answers
45 views

Show dynamic graph and plot together

I have a following code (sorry for the czech comments, if you wish, I can edit them to english) - it's an exercise for a monte carlo method lesson: ...
0
votes
0answers
46 views

Accessing variables outside DynamicModule

I have this DynamicModule which is basically a form of input fields that are parameters. My two final functions are H1 and ...
0
votes
0answers
42 views

Dynamically Update Inset within Graphics with RunScheduledTask

I followed the instructions given below to play with RunScheduledTask within DynamicModule. ScheduledTask with scoped ...
0
votes
0answers
121 views

Manipulate inside a function definition

I am writing a notebook where I have to configure several curves (using locators in manipulates), to not repeat code I would like to write a function that wraps a manipulate and returning the ...
0
votes
0answers
162 views

Is it possible to create an event handler for changes in values of variables?

I am creating a networking application in Mathematica that runs a non-stop simulation, and periodically receives new information from the remote server that affects the simulation. Whenever values ...