Questions tagged [animation]

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

Filter by
Sorted by
Tagged with
4 votes
2 answers
162 views

Why can't Animate function have nested parameters?

Version: 12.1.0 for Microsoft Windows (64-bit) Minimal example: ...
1 vote
2 answers
84 views

Showing each component of velocity in a helix

In this animation, I want to show each component of velocity (V_x, V_y and V_z) with arrows ...
  • 664
8 votes
2 answers
280 views

Add a button in Manipulate to execute a bookmark animation?

I am writing a Manipulate with a set of bookmark animations. Below is a simple toy example. However, rather than having to select the "+" icon and select the "Animate bookmarks" ...
  • 1,498
3 votes
0 answers
84 views

How to embed an animation in the following into .pdf using latex?

How to embed an animation in the following to .pdf file using latex? Is it possible to add the buttons for j and k such as in ...
  • 507
2 votes
1 answer
61 views

Help me solve an animated plotting issue?

I am trying to animate the y axis moving along the x axis while keeping it the same height the entire time. This works after a certain point, but the first couple of seconds the y axis scale gets ...
  • 23
2 votes
1 answer
109 views

GIF animation changing background unexpectedly

I have the following animation that I wish to export as GIF ...
0 votes
0 answers
48 views

Fullscreen "real-time" animation without margins

Suppose you have a function mapping a discrete input, e.g., ranging from 1 to $n$, to an image. Each image resulting from a sequence of such inputs should be displayed in fullscreen one after the ...
3 votes
1 answer
64 views

Using WhenEvent to stop N objects at a boundary

I am attempting to implement an event into my simulation which makes any moving particle in an electric field completely stop at the instant they pass some specified threshold. I was trying to utilize ...
  • 363
0 votes
0 answers
60 views

How to fix "Coordinate{\$CellContext`x1, \$CellContext`y1, \$CellContext`z1} should be a triple of numbers, or a Scaled form

I have a program which should show the motion of N particles in an electric field as a function of time and position within the field. I am running into the aforementioned error (listed in title) when ...
  • 363
6 votes
0 answers
127 views

Animating a Sphere Eversion (Turning a sphere inside out)

I'm interested in animating a sphere eversion like the one shown in the following gif. The full video is here: https://www.youtube.com/watch?v=OI-To1eUtuU Normally, I would offer my own code as a ...
  • 4,825
1 vote
1 answer
57 views

Adding timeline to ListAnimate

I want to add time in the ListAnimate so that after I exporting the video I can see the graph changes by time. For example I have a graph that is changes by time, ...
0 votes
1 answer
103 views

Is there any alternative for Manipulate or Animate?

I have a project to animate heat equation in 3D. I have the following problem $$u_t=u_{xx},\qquad 0\leq x\leq 1 \land t>0$$ $$u(0,t)=u(1,t)=0$$ $$u(x,0)=\begin{cases} 2x, & 0\leq x<\frac{1}{...
4 votes
0 answers
155 views

High Quality animation with Export?

This is my second question here. Recently I've been trying to compile a video simulation of wave propagation via ComplexPlot[] with ...
0 votes
1 answer
87 views

Animate a point that follows a function inside a plot

I'm trying to create a plot that shows an animation of a point moving along a function. The idea behind this is that a I want the point to follow the function until the discontinuity point. For every ...
  • 69
5 votes
2 answers
175 views

The jumping problem when rolling a Reuleaux triangle

I'm making an animation of a Reuleaux triangle rolling on a straight line like this The animation generated by my code is not continuous. Is there a simple way to eliminate jumping? ...
  • 4,994
2 votes
2 answers
129 views

Animated contour plots inside multiple shapes

I am new to Mathematica and have recently been trying to investigate solar weather on power grids. I have managed to plot the power grid being studied where the vertices are substations and would like ...
0 votes
1 answer
88 views

create an animation of a string

I'm trying to create an animation of motion of a physical string, it should demonstrate a "jumping rope", but I don't know what function to use, I've tried parametric plot and vector plot. I ...
  • 5
1 vote
1 answer
73 views

Making animation with mathematica for sphere [closed]

How to make animation in mathematica for 3D sphere which randomly its radius increase and decreases? Thanks
  • 325
4 votes
2 answers
170 views

Error animating a 3d parametric plot of a sum

I am trying to animate a sum together with a circle (specifically the vector field $(r \sin \theta , r \cos \theta, u(r,t))$ using Animate and ...
's user avatar
4 votes
2 answers
315 views

Sphere animation

I need to make an animation to visualize spherical coordinates. So,what I need is, when I increase r, it traces a radius r. Just to make it easier, it traces in z-axis. Then, when we increase angle ...
  • 85
1 vote
0 answers
99 views

Smooth Interpolation Between Curves

I'm interested in finding a way to smoothly interpolated between graphics curves (and possibly shapes as well). My current solution is not very elegant ...
10 votes
3 answers
274 views

Scroll Through Layers of ListLinePlot3D

I like the default functionality of ListLinePlot3D's layering of 2-d data plots, as seen below with 4 layers. ...
2 votes
2 answers
86 views

Inverse of an Animation

I was thinking, it's possible to plot inverse an animation?? ...
4 votes
3 answers
146 views

Hemisphere volume plot

I am trying to show an animation of the hemisphere volume. I tried to start with some radius and rotate it, to get an area of a circle. Then, I will stack up the circle in z-axis to make a hemisphere. ...
  • 85
3 votes
2 answers
123 views

Problems with animation

I am trying to make a random walk simulation with Animate, but somehow it doesn't produce the animation I want. ...
3 votes
1 answer
110 views

How to visualize an externally calculated FEM solution

I am trying to make animations of results of a FEM solver from an external model. Basically, I am pre- and post-processing in MMA. As a simple example, let's say I have a mesh such as: ...
  • 1,554
1 vote
1 answer
159 views

How to make a initial condition of a wave equation as a gaussian wave packet travelling to the right?

I am trying to animate the solution of a wave equation with initial condition being a gaussian wave packet travelling the the right. I know that the mathematical equation is something like $e^{\frac{-(...
3 votes
2 answers
147 views

Animating Particle Motion Using Parametric Plot and Animate

I am attempting to animate my parametric plot and add a particle to move on the line but I am having difficulties. Here is my graph for the trajectory: ...
1 vote
2 answers
75 views

How to force Animate to work properly?

I would like to animate a simple clip where the points appear at a plot ...
4 votes
3 answers
295 views

how to make two dots moving along two curves?

I got this code from a previous thread and then modified it a bit. ...
  • 2,484
0 votes
0 answers
54 views

ListAnimate problem

Imagine I want to use ListAnimate on the follow list ...
  • 4,388
0 votes
0 answers
20 views

How do I use 2 tables of nt X np dimensions as x and y coordinates to do a video animation?

Basically I want to do a video animation using 1 of these tables as x corrdinate (xpa) and another as y coordinate (vpa). xpa = Table[0, {ti, nsteps}, {i, nparticles}]; vpa = Table[0, {ti, nsteps}, {i,...
  • 21
1 vote
3 answers
192 views

Can I get the given plot without calculating the roots numerically? Is it possible to use Manipulate/Animate to get a continuous line of the points?

I have two functions $F(x,y)$ and $G(x,y)$ for $0<x\leq3$ and $-1\leq y \leq1$. Given a specific value of $y$, I want to find those values of $x$ for which we have $F=0$ and $G\neq \pm 1$. For ...
  • 463
1 vote
0 answers
61 views

Code review of my animation of Ellipsoid method

Feel free to suggest improvements (code-review) to my two functions (calculation and animation). They were made to visualize the workings of the Ellipsoid method in two dimensions. For example, see ...
  • 622
0 votes
0 answers
67 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.
-1 votes
1 answer
87 views

How to get a gif from the Clock result?

I get a Clock graphics like Dynamic@Plot[Sin[x], {x, 0, Clock[6]}, PlotRange -> {{0, 6}, {-1, 1}}] But how to export a <...
  • 24.6k
1 vote
2 answers
70 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" : ...
  • 39
2 votes
1 answer
83 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 ...
2 votes
0 answers
66 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 ...
0 votes
1 answer
69 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 ...
2 votes
0 answers
36 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 ...
  • 4,388
11 votes
2 answers
588 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 ...
  • 6,675
1 vote
2 answers
101 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 ...
  • 25
0 votes
0 answers
34 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: ...
1 vote
1 answer
49 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 ...
  • 463
13 votes
3 answers
575 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....
5 votes
3 answers
279 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 ...
  • 6,675
1 vote
0 answers
47 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 ...
  • 111
6 votes
2 answers
202 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 ...
  • 4,388
0 votes
1 answer
64 views

Problem with 3D plot on using Animate

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

1
2 3 4 5
14