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
0 votes
1 answer
46 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 ...
Pascal Tchakouté's user avatar
1 vote
1 answer
113 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 ...
Denis D. Bavrin's user avatar
1 vote
1 answer
146 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 ...
Denis D. Bavrin's user avatar
4 votes
1 answer
312 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 ...
Denis D. Bavrin's user avatar
19 votes
1 answer
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 ...
Teg Louis's user avatar
  • 383
1 vote
1 answer
60 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 ...
Benjamin's user avatar
0 votes
1 answer
81 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 ...
stupidstudent's user avatar
1 vote
0 answers
79 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 ...
Pamela's user avatar
  • 309
3 votes
0 answers
175 views

Visualizing General Relativity Using Mathematica

There is an old layman method of visualizing General Relativity in which you assume the massive body to be placed on the top of large space-time fabric and the bending describes the effects of gravity,...
codebpr's user avatar
  • 899
9 votes
2 answers
845 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 ...
Christopher's user avatar
5 votes
3 answers
364 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 ...
100xln2's user avatar
  • 427
1 vote
1 answer
96 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: ...
DuK's user avatar
  • 111
2 votes
1 answer
246 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 ...
Michiel van Mens's user avatar
1 vote
1 answer
104 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 ...
rani's user avatar
  • 111
2 votes
1 answer
136 views

How to plot Hyperbolic 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] ...
CasperYC's user avatar
  • 1,550
1 vote
0 answers
97 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 ...
kevin Tah N.'s user avatar
2 votes
1 answer
174 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 ...
kevin Tah N.'s user avatar
0 votes
0 answers
28 views

How can I disable the mouseover behavior of AnimatedImage objects?

The otherwise very convenient function AnimatedImage displays a "pause" icon when you mouse over its output. Is there an option or trick to disable this? I see that in the documentation it ...
Glenn Welch's user avatar
3 votes
2 answers
408 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 ...
Alexandru Chirvasa's user avatar
1 vote
0 answers
54 views

Export animation to avi

I'm trying to export an animation but the output is always $Failed with the error message: ...
Syn1110's user avatar
  • 51
1 vote
1 answer
70 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 ...
L. Gorham's user avatar
0 votes
0 answers
59 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 ...
Sinchan 's user avatar
1 vote
2 answers
87 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 ...
Xan-Kun Clark-Davis's user avatar
0 votes
0 answers
41 views

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

Consider such an example ...
matrix42's user avatar
  • 6,754
2 votes
1 answer
75 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 ...
Chessnerd321's user avatar
4 votes
1 answer
155 views

Euler's helix and wave propagation in animated plot

I'm trying to create a complicated animated plot. The idea is to have a 3D helix, that is a projection of a point moving in a circle. Then the helix would de-convolute in a cosine and sine, similar to ...
Thanos's user avatar
  • 993
4 votes
2 answers
164 views

Shading a sinusoidal plot at specific regions and animating it

Here's the output that I wish to have: I have tried to use this code, to finish almost 75% of the work. How to get the final result? ...
codebpr's user avatar
  • 899
0 votes
0 answers
30 views

manipulating animation

The following code defines a function P[...,X,Y,...] and plots its (random) points with coordinates (X,Y) on a plane as an animation. The number of points is determined by the variable "particles&...
challengedbymathematica's user avatar
3 votes
2 answers
111 views

Update Random Each Repetition of Animate

I found a solution that's not what I wanted but it will suffice Thanks - Larry ...
L. Gorham's user avatar
0 votes
0 answers
67 views

Animating a wave function

I have a wave equation which is generated from the command FourierSeries. The generation of the time-component $FD[t]$ is given by: ...
Vangsnes's user avatar
  • 561
3 votes
1 answer
46 views

Preventing scale difference between `ListAnimate` and `Export`

So I have the following animation which looks fine on screen: ...
Yaroslav Bulatov's user avatar
5 votes
1 answer
78 views

Is there a way to create very high aspect ratio images from movies?

I am trying to process images of very high aspect ratio defects (on the order of 100:1) with Mathematica (perhaps using movies)? I am trying to analyze long, thin, defects in coated film. If I take ...
Ted's user avatar
  • 71
3 votes
2 answers
145 views

plotting sequence of points

I am new to Mathematica, and I am trying to plot a sequence of 2D points so that the resulting video shows 1, then 2, then 3, ... points on the screen. Here is a simple minded version of what I am ...
challengedbymathematica's user avatar
8 votes
2 answers
169 views

Fixing dashed line shake in ParametricPlot

...
expression's user avatar
  • 5,562
0 votes
1 answer
84 views

How do you animate a parametric plot without specifying the range?

I'm trying animate a parametric plot without having to specify the range of the function variables, which will be done later on in a bigger animation. Here's my code: ...
student's user avatar
  • 47
3 votes
1 answer
65 views

Trouble Mapping a Geometric Transformations over a List of different types of Graphics Objects

I am working on some code that allows me to auto-rotate graphics (including ParmetricPlot3D and Plot3D graphics) objects while preserving mouse dragging in a smooth fashion. It works great. The code ...
B flat's user avatar
  • 5,441
0 votes
0 answers
74 views

Animate $f(x)$ revolving aroung $Y$ axis

I'm asking if there is a way to animate a function $f(x)$ (plotted in a range $(a, b)$ with $a > 0$ and $b > 0$), making it to revolve around the $Y$ axis and showing the solid of revolution ...
Enrico M.'s user avatar
  • 779
7 votes
3 answers
513 views

Track chord movement

The point $P$ on the circle and the point $F$ inside the circle, perpendicular bisector of line $PF$ intersects the circle at two points $A, B$, the envelope of $AB$ is an ellipse. I use the following ...
expression's user avatar
  • 5,562
0 votes
1 answer
151 views

Animation of a ball rolling up and down a parabola

...
anon's user avatar
  • 163
4 votes
2 answers
176 views

Why can't Animate function have nested parameters?

Version: 12.1.0 for Microsoft Windows (64-bit) Minimal example: ...
Tiger Zhao's user avatar
1 vote
2 answers
121 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 ...
user84456's user avatar
  • 1,524
8 votes
2 answers
335 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" ...
josh's user avatar
  • 2,340
3 votes
0 answers
110 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 ...
RF_1's user avatar
  • 672
2 votes
1 answer
81 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 ...
kajorge's user avatar
  • 23
2 votes
1 answer
167 views

GIF animation changing background unexpectedly

I have the following animation that I wish to export as GIF ...
Daniel Castro's user avatar
3 votes
1 answer
79 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 ...
Zach's user avatar
  • 373
0 votes
0 answers
112 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 ...
Zach's user avatar
  • 373
7 votes
0 answers
285 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 ...
B flat's user avatar
  • 5,441
1 vote
1 answer
79 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, ...
Aji Wibowo's user avatar
0 votes
1 answer
155 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}{...
Aji Wibowo's user avatar

1
2 3 4 5
15