Tagged Questions

Questions on Mathematica's ability to create "moving pictures" from its graphical output, including exporting these animations to other formats.

14 views

Getting message “The kernel is not responding to a dynamic evaluation” [on hold]

Every time I want to make an animation like this: Animate[Plot[Sin[t + a], {t, 0, 10}], {a, 0, 10}] Mathematica loads the animation for one second an then gets ...
50 views

How to animate a propagating wave?

How can I animate a progagating pulse wave in Mathematica, for example a gaussian curve. I would like to do that for whatever function I can think of. Thank you!
57 views

How to animate a graph generated by ListPlot command point by point?

I was wondering if it is possible to animate the following graph. The command used to generate the graph is the following: ...
172 views

Dynamic Epicycles

Thanks to all the thorough answers and comments, I've written the following code, which builds a variable number of epicycles. However, when I apply the formula ...
73 views

Plotting animated point on a polar plot

How can I animate a point on a polar curve? I have used Animate and Show together before in order to get the curve and the moving point together on the same plot, but combining the polar plot and the ...
54 views

Is it possible to control the sliders in animation programmatically?

Does Mathematica have the functionality to control the sliders in animation? That is, run sliders when some condition, like an if condition is fulfilled.
97 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
288 views

Visualization of Homotopy equivalence between “heart curve” and zero

It is well-known that a "heart" is topologically equivalent to a "zero". where $$(x^2+y^2-1)^3=x^2y^3$$ is the heart equation; and $$\frac{x^2}{2}+\frac{y^2}{3}=1$$ is the equation of the zero ...
108 views

Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
207 views

Creating a colour variation effect of the Northern Lights

As is well known (see https://www.youtube.com/watch?v=fVsONlc3OUY ), the Northern Lights or Auroral displays appear as variations of several colours (generally pale green and pink). Is there a ...
122 views

Animating N points

So I'm trying to create an animation of N interacting particles in two dimensions confined in a box. Generating the data is fine and it's being stored in a text file with two columns for each ...
32 views

Compare different speeds of parametrizations in same animation box

I recently taught my calculus III students about arclength parametrizations, and I wanted to show them the different parametrizations in action, but in Mathematica, there seems to be a default speed ...
61 views

How do I animate just one variable out of three inside Manipulate/Not show line until Animate?

1) In the following code, I want to Animate just the Elapsed Time (t) variable. How do I write an ...
190 views

How to avoid the wiggly text on Ticks and Labels when rotating 3D objects

Motivation I'm trying to do a nice animation of the rotation of a ParametricPlot3D . My problem is that the Ticks numbers and ...
44 views

How to customize an animation [duplicate]

I want to create an animation regarding the restricted three-body problem for the Earth-Moon system. The code is as follows ...
170 views

How do I get an “animation” to play? [closed]

This assumes that "animation" means what I think it does. "a way of making a movie by using a series of drawings, computer graphics, or photographs of objects (such as puppets or models) that are ...
98 views

Rotate with Euler angles in Graphics3D [closed]

I need to rotate with the Euler angle sequence: Yaw by $\psi$ around $z$ Pitch by $\theta$ around $y'$ Roll by $\phi$ around $x''$ I know of Rotate[] in ...
42 views

Is there a way to pre-calculate a slow animation and then run easily with no lag? [duplicate]

I have an animation of a triple pendulum on a moving base, however even after trying to change the whole coding to make it faster by using module and all it is still pretty bad as I need it to be ...
65 views

Tree graph showing the orbits under the Collatz map?

ReverseCollatzPaths is a nice demonstration of a radial tree graph showing the orbits under the Collatz map. However, Jason Davies gives, I think, a nicer visulalization using Python, with a ...
65 views

Running an animation if a certain condition is met using Manipulate

I'm having trouble finding a way to play an animation (inside Manipulate) if a certain condition is met. I'm representing liquid volume with rectangles and if the ...
107 views

How to make an animation of circle “decaying” into two smaller circles using Manipulate? [closed]

I have defined three functions: $x[t], x_1[t],x_2[t]$. $x[t]$ describes the motion of a circle of some radius $r$ that, at some moment $t_0$ decays into two circles of radii $r_1$ and $r_2$. The ...
58 views

problem exporting an Animate video

Here's my code: ...
53 views

A single point moving at different speeds through different regions on a plot (Manipulate)

I've been working on this for a while with little success. I have a point (that needs to be connected to a Manipulate control in some way), that moves up the plot ...
150 views

How can I draw a box with moving particles inside and a hole in one side? [closed]

The idea is to create a simulation for ideal gas motion in a container that have a hole and then find the speed distribution for the gas particles that leave the box through the hole. I have a ...
129 views

Animating a 3D shape along path a (2D and 3D) parametric function curve [Update]

I have a 3D object under the action of gravity field.The trajectory of path is a parabola.I would like to animate , as in the example GIF. ...
70 views

Adding Disk to Parametric Plot Animation

I have a simple animation of a spacecraft being gravitationally deflected by Mars and wanted to be able to represent Mars as a red disk, but am having trouble doing this. Here is the code (where the ...
145 views

This code: ...
73 views

Powerset Animation/Invisible Vertices/Graph Layout

I wanted to visualize the cumulative powerset construction process and came up with two functions: ...
58 views

animation of a straightline according to given constraints [closed]

I want to create an animation in which a linesegment of fixed length will move along a straight line(the line segment is attached to the straightline at its mid-point) [i should be able to vary the ...
108 views

Animating a parametric plot

I am attempting to animate my parametric plot, but am having difficulties. I tried simply wrapping the plot code with an Animate[expression,{t,0,5}], but that ...
96 views

How to create a smile animation in Mathematica?

I want to create a yellow smile, with normal mouth which smiles in cycle. I only know that I need to use CDF player and Manipulate, but do not have any idea how to do that. Thanks!
259 views

I have the following animated parametric curve where the gap looks like it's rotating in the counterclockwise direction. ...
67 views

Import a jpeg file and a mov file and display them side by side

I am planning to use Mathematica for a presentation. In one of the slides I need to place a jpeg file side by side to a mov file. ...
44 views

Animating an InterpolationFunction and its integral

I have a list of data that I interpolate (Omega[t]) and animate - it is working fine, but an Integrate over the ...
110 views

Scaling vectors in an animated vector field [duplicate]

I want to animate a VectorPlot3D. But, Mathematica rescales the vectors in every frame. Can you scale them all to one fix point? For example, scale the vectors on ...
38 views

Error message with Animate?

I have a error message, but after I execute ndsolve cell is all right.What is the Reason for this error? ...
135 views

Stitching Mathematica-produced movies together

I have hundred thousands of images from a numerical simulation and want to make a movie from them. This is easy done with Export["movie.mov", imagelist] However, ...
143 views

Adding dynamic graphics to an animation

I'm making this demonstration that draws a parametric plot of the unit circle, while at the same time has two plots off to the side that draw the sine and cosine curves. I have this made up as an ...
160 views

Rotation of a cylinder around its vertical axis [closed]

I want that that cylinder plotted by RevolutionPlot3D[{Sin[t], Cos[t], u}, {t, 0, 2 Pi}, {u, -10, 0.02}] to rotate around its vertical axis. If possible I want ...
197 views

Animation of a plane wave

I want to animate in 3D the plane wave $\sin(\omega t+kx+\phi)$, but following the form from the documentation, I can only make $k$ or $\omega$ vary, and I want $t$ to change. How do I do that?
932 views

Solving and Animating Three Body Problem

I am attempting to solve a three-body problem using the Lagrange formalism, with a 1/r potential. I started off by defining T and U (kinetic and potential energy) as follows: ...
73 views

Animation stays blank during animation

In attempting to answer this question about animating a rolling disk, I constructed a ParametricPlot to Animate. The plot looks ...
820 views

Animated Wave propagation using split operator method

Here is the state of the art: By solving the time-dependent SchrÃ¶dinger equation, one obtains that the propagated wave function after time step $\Delta t$ can be calculated by applying the ...
543 views

Better way to visualize cylinder puzzle solution

The above puzzle has been a recent source of amusement in my clique. I decided to provide a visualization to motivate solution (here): My code: ...
29 views

problem to using Slideview to show a list of animations

when I use Slideview to show a list of animations, in each individual slide, the animation created by Animate is not running. But this problem does not occur when I change Slideview to Flipview. The ...
68 views

How to trim the image after rotating?

Want to rotate this image and then trim it. consider image=R6UgC.jpg; Imrot=Rotate[image, 2 Degree]; ImageTrim[Imrot, {{560, 400}, {900, 900}}] getting error ...
81 views

Make animation with multiple external data files

I am currently solving PDEs for a discrete vector field with C++. The output at a time t is an array where each row represents a site and there are 6 columns, the first 3 give the position of the site ...
156 views

This code: ...