# Questions tagged [animation]

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

740 questions
Filter by
Sorted by
Tagged with
50 views

### How to generate lensed light animations like this?

How can one generate the projection simulation effect in the following video (from Apple's webpage (minus the logo of course)). I would like to be able to create a similar-looking shader animation in ...
• 31.7k
255 views
+100

### Reproducing strong visual effect of the rotating cube illusion

A very "strong" visual effect illusion was posted recently HERE. Here a few frames of it at low resolution. The cubes are NOT rotating in reality. Curious: to see cube NOT moving use "...
• 73.4k
99 views

### Estimation of particle displacement in meters from consecutive images

I have two images (img1,img2) in which the particles have moved. I obtained their displacements from the ImageDisplacements command, but I don't know how to ...
• 155
46 views

### How to calculate the average stream velocity from the segmentation of video frames?

I have a 10 second video of a river flowing. I want to calculate the velocity of the river flow using optical flow. In this operation, I used the ImageDisplacements ...
• 155
1 vote
96 views

### Animating a Polygonal Chain Worm's Gait

Here is an example polygonal chain worm: that was created with the code: ...
• 114
1k views

### How to animate an impossible image

Could someone help me generate movement for this image This image is like an impossible figure, yet I have seen similar ones but I can't imagine how to give it movement. thanks in advance
• 2,345
81 views

### EmitSound Problem

I want to emit several sounds with an indication of each name according to their duration times. My code is below. But sounds and updating information in a grid don't synchronize. I'm looking for an ...
• 1,201
41 views

### Animate does not work with Interpolating Function

I have an Interpolating Function T[t] (calculated as a solution to a DE). The following statements work just fine (where the a, r and tm have previously assigned numerical values and T[t] is an ...
126 views

### Using the result of NDSolve to make animation

I have solved a system of PDEs and made density plots using the following script ...
119 views

### Animation of Euler top

I am trying to animate the motion of the Euler top, where the ellipsoid will change its Euler angles with time. Is there a method to visualize the ellipsoid's spin, nutation, and precession motion? I ...
• 47
226 views

...
• 1,652
93 views

### Combining animations

How is it possible to combine several animations in the same graph? Let's say I have the following animations (each shows how a graph evolves in time), and one to show them all in the same movie. <...
1 vote
166 views

### Robotic Appendages in MMA

I am trying to animate a generalized abstraction of robotic appendages (arms, hands, legs) in Mathematica where the translation is "smooth" in the sense that all of the points except for the ...
• 114
263 views

### How can I make an animation when using RevolutionPlot3D?

Let ABCD be a square with AB=2. Rotate the filled ABD (see picture) about ...
• 4,317
161 views

### Regarding the interactive operation of a four-bar linkage mechanism

I have a four-bar linkage mechanism, where when the left locator is moved, the right locator moves accordingly, and when the right locator is moved, the left locator moves accordingly. I have ...
• 874
1 vote
54 views

### How to cache results of "Animate" in NotebookDirectory?

I have some Animate cells in my notebook using pattern Animate[doplot[i],...]. When I deploy the notebook on the Web, I want the ...
• 8,041
1 vote
45 views

### Why did my animated Graphics3D stop functioning after Nvidia GPU driver update? Now I have to end Mathematica process in the task manager

The following code used to work fine until just after a recent Nvidia driver update. Running the code causes Mathematica to completely hang and I must end the Mathematica process in the task manager. ...
80 views

### How to generate a parabolic moving point to form a dynamic graph of parabola?

Enter a standard equation for a parabola According to the input parabolic standard equation, automatically draw the corresponding focal coordinates and guide lines of the parabola in the coordinate ...
• 4,844
1 vote
79 views

### Animate a FindMinimum with NIntegrate

The objective is to investigate how a fitted normal distribution approximates the sum of two normal distributions with a difference in $\mu$, $\sigma$, and amplitude. The purpose is finding out how ...
1 vote
64 views

### How can I create an animation which runs only forward?

I fail creating a gif-file showing an animation which runs forward and when ready jumps back to start and runs forward again. My files always run forward and backward: ...
1 vote
112 views

### How can I simulate merging of droplets pressed between two slides? [closed]

I'd like to study the evolution and merging of multiple droplet outlines, while confined and pressed between two planparallel slides. Does anyone have an idea how to code an interactive script by MMA ...
• 1,077
1k views

### Make a "formula-millipede" move along arbitrary path

Math artist Chirag Dudhat specializes in simple math that does something interesting visually. He recently had a hit with a "millipede" simulation with simple complex plane formulas. Below ...
• 73.4k
70 views

### How do you make a 2d animation of a 3d object rotating given a lot of the parameters for it?

I'm not looking for the exact answer, I'm trying to get that on my own. But given parameters like the number of frames, perspective projection, angle and axis of rotation and frame vertices, I just ...
378 views

### Is there a way to render a 2D animation of a 3D object?

Given a 3D object to render, is it possible to make a 2D animation out if it? Does that just refer to the creating of a gif of the animation?
1 vote
327 views

### Graphing curves formed by a rolling polygon

I am trying to make a Mathematica graphing function that would generalize common phenomena. How would I do this? From a circle, we can generate a cycloid (if rolling on a line) or a sine wave (if ...
• 114
82 views

### How to control size and position of the bounding box of ListPlot3D?

I want to create an animation from multiple 3D charts generated by ListPlot3D. Here is a code that generated "test" data for that (it will output frames into a folder ...
71 views

### Pointwise convergence of Fourier series: partial sum animation not rendering plot

I'm new to Mathematica (13.3) and I'm attempting to demonstrate the pointwise convergence of the Fourier series for the square wave function f in particular, by showing via Animate/Manipulate that as ...
1 vote
170 views

### Animating a double spring spherical pendulum

I want to make an animation of a double spring spherical pendulum. The first mass is connected to the ceiling with a spring, and the second mass is attached to the first one with a spring too. The ...
1 vote
199 views

### Animation of double pendulum with a spring (3DOF)

I've got a problem with animating a double pendulum where the first mass is connected with a ceiling with a bar and the second mass is connected with the first one with a spring. Below is my code ...
365 views

### Animation of a spring pendulum

I would like to animate a spring pendulum. Below is my piece of code. The Lagrangian and equations are correct, in which I am sure, but the animation looks terrible and non-realistic. Could someone ...
2k views

### Efficiently Mowing Grass with Mathematica

Recently, I was mowing my yard and was thinking about how to use the least amount of time/fuel and how to simulate. Mowing a yard that is shaped as a convex polygon is not difficult, you can just make ...
• 114
1 vote
74 views

### Animate function error

I'm new to Mathematica and I'm trying to plot a interactive graph of a curve with a slider that shows the tangent to the curve in whichever point of the interval, my implementation is ...
• 15
99 views

### Help with animating a plot in 3D cylindrical coordinates

I am trying to figure out how to animate (for different values of k) the following function in cylindrical coordinates and would appreciate some help. $$f=r^2*k-r*cos(theta)$$ I can't seem to figure ...
• 43
1 vote
82 views

### How to emulate the curves and color of the video? [closed]

I found this animation on the internet, it is part of a joke, but I was intrigued by how the video can be emulated with the colors and the curve proposed in the video.The video talks about neural ...
• 309
908 views

### How do I animate arms on my triple pendulum?

I have three Euler-Lagrange equations which describe the dynamics of a triple pendulum and I have managed to plot the pendulum's pivot points parametically but I cannot figure out how to put arms on ...
373 views

### How can I animate a list of vectors, which have entries either 1 or 0?

I have a list of vectors of equal length, that have entries either 1 or 0. I want to animate them vector by vector, essentially having one long string of the length of the vectors, which is black ...
• 437
1 vote
127 views

### Convert .gif to HTML and keep animation [closed]

I want to convert any .gif in HTML on Mathematica and keep the animation of the gif. For this I use this function: ...
• 111
269 views

### Moving disk over a underlying image

I want to make the following animation. The basis is a image, for example Lena's photo. I will place a new layer over this image. This layer has a color, for example black. In this layer there is a ...
• 2,855
1 vote
142 views

### Trace animation of spherical and $\pi$ atomic orbital

I want to get trace animation, which forms 3D object at last. Though I saw ring shape structural animation in the website: https://community.wolfram.com/groups/-/m/t/1991109 also Creating a movie of ...
• 365
233 views

### How to plot hyperbolic curve using parametric form with animation?

Animate[ ParametricPlot[{Cos[\[Theta]], Sin[\[Theta]]}, {\[Theta], 0, a + 0.0001}, PlotRange -> {{-1, 1}, {-1, 1}}], {a, 0, 2 Pi}, AnimationRunning -> False] ...
• 1,652
1 vote
163 views

### Help with gravitational waves plot/animation with Schwarzschild metric using xAct package and ListPlot3D

Update: I have now successfully derived the gravitational wave equation. I used this template with slight modifications. The screenshot of success is shown below, followed by the code. Now I need help ...
• 165
244 views

### Plotting / Animating a test planet around a star

I am trying to plot/animate the motion of a test planet around a star using Mathematica in the framework of general relativity. In fact, I want to see the perihelion shift. I am using as inspiration ...
• 165
455 views

### How to animate the evolution of a wavefunction?

I wanted to show an animation for the time evolution of a function, and I chose the harmonic oscillator because I can write the evolution more easily. When I choose a specific t the first graph works ...
1 vote
74 views

### Export animation to avi

I'm trying to export an animation but the output is always \$Failed with the error message: ...
• 51
1 vote
78 views

### In Manipulate animation I can't have ResetButton and Play buttons

I want to add a separate reset button to this code besides using the bookmark button (Ver:11.2). I've tried everything in "Reset" Button for Manipulate and elsewhere but ResetButton ...
65 views

### Problem with 3D plot in Animate ( Plot not showing)

I was trying to implement Schrödinger equation for free particle. I have plotted probability density for a single value of time, that plot is showing. But, when I am trying to animate over time, plot ...
• 11
1 vote
93 views

### Save animation for Animator

I have a notebook with a dynamic ParametricPlot and wanted to save it as an animation, but nothing seems to work. I tried with other local objects (A2) but somehow ...
43 views

### How to understand AnimationRate->r, where r is variable?

Consider such an example ...
• 7,180
128 views

### Animate inside manipulate: Restarting animation at change of manipulate variables

I'm trying to make an illustration for teaching purposes, but the code is a little long to post. I've made up a toy problem that seems to have the same issue. Below, I have some code with the same ...
• 123