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

learn more… | top users | synonyms

0
votes
2answers
57 views

how to use InputField function within the manipulate function

I am trying to make a demonstration that can take in a matrix and create a vector field. Currently I have the demonstration all functioning but to define the matrix it uses sliders. I know they cannot ...
2
votes
1answer
94 views

How to write 1.0 in InputFields with ContinuousAction and Number constraint

With the concept of user responsiveness in mind, I’ve tinkered a couple of small apps that are supposed to be eh… responsive, i.e. calculating without having to press enter. They all rely on ...
17
votes
0answers
500 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. ...
16
votes
0answers
466 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 ...
10
votes
0answers
274 views

Minesweeper beta:How to Dynamic a lot of graphics with high-speed

Recently I want to write a game,Minesweeper.Here is my completed code. ...
6
votes
0answers
72 views

Graph: PropertyValue changes and Dynamic

I almost never work with Graph in Mathematica but lately I helped someone with it. For this, I tried to make an animation using ...
4
votes
0answers
135 views

Multi-Camera streaming using Mathematica

I am attempting to capture dynamic streams from multiple usb webcams using only mathematica. Using ImageCapture["Device" -> $ImagingDevices[[x]], I've tried to ...
4
votes
0answers
180 views

Resources for Sound Synthesis & Design

Are there any resources for sound synthesis using Mathematica? This page, Mathematica: Audio Synthesis Software, refers to other software packages, e.g. Max/MSP and Csound, for real-time synthesis. ...
4
votes
0answers
176 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 ...
4
votes
0answers
268 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
48 views

How can I make a stylesheet that counts subcells?

The example cells in the documentation each have count of the cells inside their section: ...
3
votes
0answers
93 views

Dynamic and Refresh

If I am not mislead by my memory, in Mathematica 6 a function Refresh was introduced, having the options UpdateInterval and ...
3
votes
0answers
73 views

Unimportant change in Dynamic

I just observed an unimportant change in version 10 with respect to Dynamic. The command x=0; Dynamic[x=x+1] returns a cell ...
3
votes
0answers
226 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
55 views

Draw segment in arrayplot and get intensity value and coordinates in segment

I want to segment an arrayplot donut in to 6 pizza slices and export per segment the coordinates and intensity values of the pixels inside of it. I found a good example, which used RegionMember to ...
2
votes
0answers
154 views

Export Notebook causes an INTERNAL SELF-TEST ERROR: Files2|c|1713 message

On my machine (Windows 8.1) and M10 the following two lines, that must be run on an already saved notebook, ...
1
vote
0answers
51 views

How to restart a Clock

The code below is to demonstrate color afterimages. The user chooses a color, fixates the changing numbers at the center until they reach 30 (seconds), then manually switches to white to observer the ...
1
vote
0answers
51 views

Build expression interactively

I define two lists: ...
1
vote
0answers
93 views

Creating Scheduler

I am trying to build a scheduler program like pizza delivery. Each driver will choose their time and general working schedule will be updated similarly. Problem is number of workers change. How can ...
1
vote
0answers
63 views

Wrap custom control inside Manipulate or DynamicModule

[Apologies if this is a duplicate: I have looked at quite a few related questions but have not seen this issue dealt with] I have built a custom control, using the following method: ...
1
vote
0answers
79 views

How to get smooth playback of image sequence

I would like smooth animation of a sequence of images, without the controls displayed by ListAnimate. I have a very simple playback function ...
1
vote
0answers
91 views

Abort Dynamic Evaluation error

I have been trying to run the example for geographic visualization at: Density of Library Books in the United States The first two lines of this code are: ...
1
vote
0answers
180 views

Speeding Up Image Processing Functions

I am working with stacks of 1024x1024 timelapse microscopy images that I am performing a series of image processing functions on to help segment each image. These functions include ...
0
votes
0answers
15 views

MousePosition and While loop Control, maybe Dynamic in While statement?

I would like to write a simple code that samples mouse position as frequently as the system can handle (with minimum dt) starting when the mouse position leaves a region and ending when the mouse ...
0
votes
0answers
44 views

MMA 10.0.2 Windows x64 Crashes during Find Next/Previous

For the past few weeks, MMA has crashed over a dozen times. It only happens when I'm doing Find Next or Find Previous several times while searching through my notebook. Note that I have at least 2 ...
0
votes
0answers
68 views

Dynamically update a graphic object in Mathematica

I was trying to simulate a bouncing ball (with no gravity) in a unit box and I managed to come up with a solution: ...
0
votes
0answers
50 views

Where to put manipulate brackets for slider effect to refresh page

In order to move the plane of a best fit around to alter the sum of the residuals, I have decided to pick on one point and attach a slider to it, this adds a little variance and moves the table ...
0
votes
0answers
41 views

Has anyone seen (and been able to mend!) an error involving Symbol FE`DynamicModuleVariableList?

FE`ExecuteInDynamicModule::noval: Symbol FE`DynamicModuleVariableList$67 does not have a value. >> I'm just posting the error for the moment as this is a ...
0
votes
0answers
262 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 ...