Questions tagged [animation]

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

647 questions
Filter by
Sorted by
Tagged with
68 views

How do I initialise a compound expression in Animate? Or, how do I have an expression evaluate on startup?

I have written a notebook with a few functions I defined. These functions describe a way of generating graphs using 2 inputs. e.g. graph[n_,s_] := Graph[...] I have ...
63 views

How to create an animating torus using mathematica or python? [duplicate]

I want to create this animating torus using mathematica or python. If anyone knows how to make this please try to explain the steps. Thank you zo much.
82 views

How to get a gif from the Clock result?

I get a Clock graphics like Dynamic@Plot[Sin[x], {x, 0, Clock}, PlotRange -> {{0, 6}, {-1, 1}}] But how to export a <...
68 views

Why the animation of a function gives different results from the integral?

My function is: A1[B_, x_, t_] := (AiryAi[B*(x - (B^3*t^2)/4)])^2 (B is a constant) and if I use "Manipulate" : ...
56 views

How put a legend in an animation?

I wrote the following code for create an animation with legend: however I was not able to put the LineLegend command into the command Animate and so it seems that this is the reason for which I can't ...
63 views

Bug with animation rate

I tried to introduce an decay to the rotation of an object in mathematica by tying the animation rate to the degree of rotation as in the picture below and it goes quite smoothly until it reaches a ...
59 views

Represent the motion of a particle

I am trying to represent the motion of a particle along a given trajectory. So I defined the following functions ...
27 views

Error when exporting

Imagine I have a list of plots, call it frames, and I rasterize them in order to have a smoother exported video, like so ...
510 views

Make polygon rolling along a line smoothly

I'm making an animation of a polygon rolling along the X-axis, the labels should keep their orientation and float is not allowed. Now lack of transitional status, is there an simpler way to add a ...
70 views

how to animate a 2D plot evolution from the 3D plot (solved using NDSolve)?

I have the problem of trying to get 2D plot from a 3D plot (which used NDSolve to solve the PDE), and I need the 3D plot's x-axis and y-axis to be the axes for my 2D plot while the z-axis of it to be ...
32 views

Table of animations not showing, but individual animations work fine

I'm trying to make a bunch of animated plots that sit next to eachother. If I do: ...
41 views

How to add animate with respect to $0<t<\pi$ in the given code?

I have a two-variable function $f:=f(x,t)$. I want to plot the given conditional plot as a function of $x$ by animating the variable $t$. The given code works for particular values of $t$; how can I ...
452 views

Animated bar chart race, a popular data visualization

Recently I see more and more data-viz called "Animated bar chart race". Some random examples, and note, how smoothly and organically everything changes in these videos.: https://flourish....
253 views

Transparent Background in an image

I'm doing some solar system animations with Mathematica. I'm wondering if it's possible to somehow change the background of the result of a plot function so that whenever I paste it in a movie editor, ...
168 views

Music animations

I've been tempted to use Mathematica to create some artistic musical animations. That is, if I have a music file, I want to be able to edit, for example, its waveform animation. For example, get ...
269 views

Make the elements in the grid appear one by one

I need to make an animation like this, start with a table at first, then each element filled from left to right, top to bottom, instead of dynamically generating grid, the current code can only ...
35 views

Why is this animation choppy only as a cloud notebook?

Main question The following animation runs smoothly in my Wolfram Desktop. However, it's extremely choppy in the cloud notebook I published it to. I tested it in Firefox and Safari, and it's choppy ...
52 views

Problem with 3D plot on using Animate

I'm trying to plot the function: ...
198 views

Exporting a Mathematica animation as a GIF and and controlling the animation rate and the direction

I am making a Mathematica animation, and exporting it to create a GIF file. However, I cannot seem to control the animation rate (speed) and the animation direction, using the "AnimationRate&...
822 views

Text shake in an animation

I'm making a simple animation, found that the text is always slight shake. I think this is not a precision problem. Maybe related to rendering? Is there a related option or this workaround? ...
221 views

Animating Curl noise applied to an image

I'm trying to produce turbulent swirling effects in an image using Curl Noise. The idea is you start off with some random field (usually Perlin noise) and use the curl of this field to displace the ...
114 views

Exporting specific frame of ListAnimate

Imagine I have a certain list of Graphics-type objects that I then incorporate into ListAnimate ...
115 views

Exporting Animation Video Using Only a Bounded Amount of Memory

The prevailing solutions seem to be: Use Export with ListAnimate (and similar solutions) which requires unrealistic amounts of ...
521 views

Animating a Potential Function (eigenfunctions of Laplace's equation)

I have written the following DynamicModule. The idea is that you can change the boundary, calculate the eigenfunctions and then animate them. Here is the code: <...
407 views

Animate causing the Frontend to hang in 12.3

Bug introduced in 12.3 and fixed in 12.3.1 Can somebody replicate the following issue with release 12.3.0 or is it only on my machine? Prerequisite: make sure your Internet connection is working, you ...
47 views

How to generate an 3D animation of an evolving 2d square array surface w.r.t time?

I have a data file consists of evolving 2d square array over time. The first block of the 16*16 square array contains the initial values on each of the 256 points. Then the 2nd block is the square ...
53 views

Animated ContourPlot Color Rescaling

My goal is to create a smooth animation of a changing ContourPlot. Unfortunately, the colors specified in ContourShading seem to bounce around during the animation. Below is an example of what I'm ...
547 views

How to make this Möbius Torus animation?

I came across a beautiful animation of a Möbius torus, and I'm hoping someone can help me make this animation in code: What I've tried: I made the basic shape but can't get the right colors, ...
73 views

Animation on the cloud

I am trying to deploy a very simple animation on the cloud, but it does not show up. This is the deployment with the full code Does anybody know why this may be? For context, the Mathematica file has ...
191 views

Implementation of Bean machine (Galton board)

Bean machine is a triangular array of pegs, Balls are dropped onto the top peg and then bounce their way down to the bottom where they are collected in little bins.Each time a ball hits one of the ...
134 views

How to animate Laplace operator $e^{-st} \ s =(\sigma+j \omega)$ which is a spiral

like this It goes around origin with a dereasing radius starting from a point on the XY-plane and goes up parallel with the Z-axis positive direction at the same time. It is driven by the time ...
1k views

How to draw a phasor animation with Mathematica?

There is a nice animation on the Phasor Wikipedia page: I wonder if (and how) one could draw such animation with Mathematica? I'm not necessary interested in the code required to draw the exact same ...
78 views

How to illustrate schematically (animated) solutions of a system of $3$-variable equations by increasing one of the variables with step $0.01$?

Following my previous question here, I am looking an alternative way to solve this problem (the method was not applicable to more complicated situations). I have a system of two 3-variable equations \$...
103 views

Never ending story - impossible to export animated gif of a ListAnimate

I am trying to export an animated GIF file which is the result of a NDSolveValue computation (see below). The notebook is working fine and fast when I want to make a 3D plot of the solution, for ...
94 views

Animating a Parametric Plot of Planetary Motion

I have been trying to make a simple animation of planetary motion, but I can't seem to get it to work. I'm still new to this program so I am not sure how to make it work. Can anyone help? Here is my ...
3k views

How do I emulate MATLAB's comet plot?

I have tried the following code: ParametricPlot[{Sin[12 u] Cos[u], Sin[12 u] Sin[u]}, {u, 0, 2 Pi}] and it produced the following image: MATLAB has a ...
56 views

Trying to make the animation showing the process of integration using Wolfram Mathematica

I'm pretty new here, I'm trying to make a animation of integration in Wolfram Mathematica, but it's getting me a headache I really don't know how to do this. The point is to ilustrate the process of ...
85 views

Mathematica Kernel Aborting With ComplexPlot

I am trying to run the following line: ...
171 views

How can we improve transonic flow visualization?

With this code we can make 2D FEM simulation of transonic flow around airfoil NACA 0012 at Mach number of 0.925. It takes about 5 minutes on the XENIA-15 laptop of 32 GB memory with processor Intel ...
50 views

Mathematica More Detailed Plot Around Asymptotes

I'm wanting to export some animations from Mathematica involving animating certain plots with asymptotes. At certain points in time, one of the parameters approaches a value where the function no ...
31 views

Animated Plot: Tick Labels Disrupt Smooth PlotRange Expansion

I am making animations for educational purposes that compare projectile trajectories in different environments. Each animation starts with a reference trajectory. Then, at least one projectile is ...
33 views

Export a table of Graphics objects and importing them back

I have a very long code that takes a lot of computation to produce some animations, and some other graphics. I would like to make a presentation notebook including the outputs of this code, but I do ...
96 views

AnimationRepetitions in Manipulate

Is there any way to stop an animation in Manipulate once it gets to the end? I assumed AnimationRepetitions would work like in ListAnimate, but it still loops for me. For Comparison: ...
35 views

(Mathematica newbie) How to avoid this error ? Animate with predefined and nested functions [closed]

So im trying to do the Atwood machine for project and I try to do it as simple as possible. I defined a graphical functions for elements and also a function of move equation. ...
274 views

Animating a random walk of 3D water molecules?

Inspired by David G. Stork’s post https://mathematica.stackexchange.com/a/84097/10361, I tried to have the molecules perform a random walk ...
121 views

Can you dynamically display the value of the slider in Animate?

It would be nice to be able to see the value of t changing as the animation progresses even if it is updating so fast that you have to stop the slider to read the number. ...
60 views

How to Have Smaller Intervals in TimeSeries

I have a wolfram demonstration project with the following code: ...
108 views

Dynamic plots using cpu rather than gpu

I'm trying to graph a few dynamic and animated graphs but am running into some issues. Whenever they are moving, the graphs loose almost all clarity: On checking the task bar, it seems like the ...