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

learn more… | top users | synonyms

4
votes
1answer
57 views

Blocking dialog with a blocking child dialog

Suppose I have a DialogInput, in which there is a Button. The Button can trigger another ...
2
votes
1answer
51 views

How to make a set of interdependent popup menus work?

Here is my code that is not working. ...
0
votes
1answer
123 views

Crash when dynamically updating ListLinePlot

I was trying to solve a wave problem using numerical methods. The code below crashes each time I run it on Windows with version 10.2. ...
21
votes
0answers
597 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. ...
20
votes
0answers
214 views

How to design CloudObjects with reasonable CloudCredit costs

Note: I originally thought to post this as a non-answer/extended comment to this question; however I feared that I would end up hijacking the original question. It is likely a duplicate with the ...
19
votes
0answers
607 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 ...
14
votes
0answers
335 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. ...
13
votes
0answers
126 views

Current (e.g., ca. 2016 / MMa 10 / WP 4+) best practices for embedding interactive content in WordPress?

My strategy, in the past, has been to embed interactive CDF files into my WordPress blog for student's to use (Much like the Wolfram Demonstration Project). As many know 1) the 'Plug in' ...
8
votes
0answers
70 views

What is the equivalent of $ModuleNumber for DynamicModule

Mathematica provides access to $ModuleNumber which can be enormously useful. Unfortunately I can't find the equivalent for ...
8
votes
0answers
91 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 ...
6
votes
0answers
73 views

How to preview a list of images by sliding the mouse?

I'm trying to dynamically scrub over a list of images like in iphoto. Unfortunately, when the mouse moves from one side to the other, it's skipping frames which is confusing: When the mouse runs ...
6
votes
0answers
62 views

Why is setting SynchronousUpdating -> True causes mouse motion to pause/freeze Dynamics?

When making a Manipulate, I noticed that setting SynchronousUpdating -> True have a very annoying side effect. By just moving the mouse anywhere on the same cell ...
6
votes
0answers
147 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
5
votes
0answers
46 views

CheckboxBar doesn't work with TrackedSymbols

CheckboxBar doesn't work with TrackedSymbols and a custom callback function. Here's an example that doesn't work ...
5
votes
0answers
92 views

Manipulator reset bug

Bug introduced in 10.3 or earlier and persisting through 10.3.1 or later When the + opener is opened, two things happen: ...
5
votes
0answers
236 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. ...
5
votes
0answers
306 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 ...
4
votes
0answers
86 views

How to avoid the pink background in GUIs without using Quiet

GUIs may generate warnings while internal evaluations are processed. In this example I intentionally introduce a line that will generate a warning. Warnings are useful, so I don't want to quiet them ...
4
votes
0answers
260 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 ...
3
votes
0answers
111 views

Neural network playground

I came across this Neural Net Playground demonstration based on Google's Tensorflow package. It visualizes the data processing inside a neural network and allows you to tweak parameters and ...
3
votes
0answers
85 views

Preventing the content of a CDF report from being overwritten when multiple reports are open at once

Our Mathematica application obtains a group of input files, analyzes them and generates a report in a form of CDF document. The report contains multiple dynamic/interactive graphs and tables. To save ...
3
votes
0answers
30 views

InteractiveTradingChart not working inside Dynamic

I would like to have an interactive trading chart that updates by changing the input stock. But anytime a dynamic is wrapped around the function, it doesn't manage to initialize. Is there any way to ...
3
votes
0answers
79 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 ...
2
votes
0answers
57 views

Interface design to replace cascading dialogs which don't work

I would like to make a nice Interface of a simulation I wrote, but i don't know how. I want that you run the code and then a window asking for input of some values appears (either in the same ...
2
votes
0answers
78 views

Dynamic array in Mathematica like malloc in C++

I have a table to describe a crossroad. Each traffic line has it own Q(flow), V( speed) and direction. I'm saving data in array, which hardcoded (very simple code data = {{66, 55, 3}, {44, 33, 2}, ...
2
votes
0answers
57 views

Ubuntu: Dynamics are not working after suspending system

I'm working on Ubuntu 14.04 LTS 64-bit and I'm running Mathematica 10.1. Usually, I don't turn my computer completely off but I'm using the Suspend function which is AFAIK a suspend to RAM. After ...
2
votes
0answers
80 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
312 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
168 views

Pitfalls of running multiple Mathematica kernels?

I've recently started running long calculations in one Mathematica kernel while I continue to work in another kernel. I thought this was safe, but yesterday I was running THIS CODE in which a ...
1
vote
0answers
81 views
1
vote
0answers
24 views

Why is there a lag in EmitMIDI and StopMIDI?

If I run: ...
1
vote
0answers
35 views

DynamicModule - Bookmarks / Autorun menu?

Using DynamicModule in my code, I observed that there is no Bookmarks / Autorun menu (the small "+" in the upper right corner...). Is it possible to add it somehow and to make Bookmarks available only ...
1
vote
0answers
86 views

Software Testing (Dynamic, Manipulate, DynamicModule) Interfaces

The main Testing Framework (in both the frontend and Wolfram Workbench) supports unit testing for command-line invocations. Is there a natural way of co-opting this, or perhaps there already exist ...
1
vote
0answers
122 views

Demonstration of an arbitrarily oriented and translated ellipsoid

(Edited and modified) After the advice I received I modify the post. I have created the following code for depicting an arbitrarily rotated and translated ellipsoid, along its ellipsoidal axes and ...
1
vote
0answers
58 views

Build expression interactively

I define two lists: ...
1
vote
0answers
100 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
129 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
242 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
286 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
43 views

All Graphics3D commands crash

Recently updated from Mathematica 8.0 to 10.2 running on Windows 7 (8.0 was uninstalled before installing 10.2). Anytime a 3d graphics is rendered, the first rendering in a notebook is completely ...
0
votes
0answers
20 views

Make an existing solution for monitoring parallel jobs robust against dying kernels

Is there any chance to make the solution by @David here http://mathematica.stackexchange.com/a/1562/21606 more robust in the following sense: In my case, some parallel kernels die regularly during ...
0
votes
0answers
27 views
0
votes
0answers
58 views

Why does this code produce an infinite loop?

I can't understand the way this code behaves and suspect that is because of some unrecognized reasons of general interest. Otherwise, I apologize and will retire the question. In ...
0
votes
0answers
51 views

Personal Reminder with Speak capability repeats multiple times

I am trying to create a personal reminder for myself using the Speak function in Mathematica hoping that the computer speaks the task only once at the designated time. However, I have found that the ...
0
votes
0answers
19 views

Is it possible to use DefaultElement for structured Dynamic cell content?

I have an interactive grid for which I would like to be able to define a structured Dynamic DefaultElement. ...
0
votes
0answers
64 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
100 views

Using Animate with ListPointPlot3D on more than one list

I have a couple orbits defined which have been mapped into one array as shown: ...