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

learn more… | top users | synonyms

5
votes
1answer
72 views

Blocking dialog with a blocking child dialog

Suppose I have a DialogInput, in which there is a Button. The Button can trigger another <...
1
vote
1answer
74 views

Issue formulating RegionPlot3D to visualize RegionIntersection

Description I am looking to visualize gas cloud growth within custom modules. For demonstration purpose, it is assumed gas cloud takes a spherical shape whilst module is defined using a ...
21
votes
0answers
255 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 ...
21
votes
0answers
610 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. ...
19
votes
0answers
617 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 ...
16
votes
0answers
101 views

Inconsistent handling of Dynamic option values; intended, omission, or bug?

In answering Dynamic ClipPlanes calculated from current ViewPoint Kuba and I got into a brief exchange regarding how Option values wrapped in Dynamic should be ...
14
votes
0answers
355 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
132 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
76 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
92 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
77 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
65 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
157 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
48 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
237 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
314 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
267 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
35 views

High CPU load for dynamic classification

I encountered some issues with extremely high CPU load when I tried to classify live images (using Dynamic and CurrentImage[]). ...
3
votes
0answers
143 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
92 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
32 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
61 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
82 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
63 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
84 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
319 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
38 views

How to tune Dynamic properly to accomplish this?

I'm making a words remembering program with Mathematica. I almost finished it but I need to implement a dynamics to make it more beautiful. Try the following code: ...
1
vote
0answers
182 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
85 views
1
vote
0answers
25 views

Why is there a lag in EmitMIDI and StopMIDI?

If I run: ...
1
vote
0answers
38 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
89 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
131 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
102 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
134 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
274 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
294 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
34 views

Easier way to input Dynamic matrix?

I've only been using MMA for a month, and I'm working on making interactive Linear Algebra examples that will be used online for students. Right now, for inputting numbers into a matrix, I've been ...
0
votes
0answers
48 views

How to prevent updating of an assignment

I have the code you see below: For[ni = 1, ni < 3, ni++, ALLB[[ni, 1]] = LB[[1, 1]];]; This code is written in a main notebook, and I have another sub ...
0
votes
0answers
30 views

How to plot eigenvalues as a function of parameters in a dynamic module?

I am trying to make a fancy interactive plot that shows how the eigenvalues of a matrix mat change under variation of parameters ...
0
votes
0answers
50 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
24 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
61 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
20 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
67 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
104 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: ...