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
2answers
126 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 ...
-1
votes
1answer
110 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 ...
5
votes
2answers
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 ...
9
votes
0answers
290 views

Animate causing the Frontend to hang in 12.3

Bug introduced in 12.3 and persisting through 12.3.0 or later Can somebody replicate the following issue with release 12.3.0 or is it only on my machine? Prerequisite: make sure your Internet ...
0
votes
2answers
63 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 $...
0
votes
0answers
72 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 ...
2
votes
2answers
74 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 ...
1
vote
1answer
55 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 ...
14
votes
4answers
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 ...
1
vote
1answer
46 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 ...
1
vote
1answer
77 views

Mathematica Kernel Aborting With ComplexPlot

I am trying to run the following line: ...
8
votes
0answers
158 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 ...
0
votes
0answers
47 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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
24 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 ...
4
votes
3answers
83 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: ...
2
votes
1answer
31 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. ...
6
votes
1answer
242 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 ...
3
votes
3answers
99 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. ...
2
votes
1answer
51 views

How to Have Smaller Intervals in TimeSeries

I have a wolfram demonstration project with the following code: ...
4
votes
1answer
98 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 ...
2
votes
1answer
54 views

How do I make my slider invisible if I have an AnimationRunning?

So this is something very similar to my code ...
1
vote
1answer
62 views

Creating a Tracker for a Wolfram Demonstration

I am using a Wolfram demonstration that shows Newton’s Second Law: https://demonstrations.wolfram.com/TwoMassesOnInclinedPlaneWithPulley/ I am not too familiar with creating animations and I was ...
-1
votes
1answer
37 views

Trying to animate an m x n matrix one row at a time [closed]

I would like to use ArrayPlot[list, Mesh->True] if possible and I essentially want it to show 1 row at a time and animate the changes it goes through.
4
votes
2answers
380 views

Can this effect be achieved with Mathematica?

This is a very cool artistic simple tooling black and white text effect that would appear to be possible using Mathematica's animation tool. How can this animation be created in Mathematica? Here's ...
0
votes
0answers
62 views

Rotate 120-Cell Animation

I have seen some code (https://mathematica.stackexchange.com/a/9593) to create an animation of a hypercube rotating, but I'm really struggling to understand how it works. I find it quite complicated. ...
1
vote
0answers
44 views

Cannot use Plot inside Animate [duplicate]

I am trying to write code to animate a resonance curve so that I can visualize changes in a parameter. However, even though my Plot[] plots values, my ...
5
votes
3answers
258 views

Plotting moving dot in 2D graph

Hi I have a question on how can I create a moving dot that moves across my x-y graph? I have tried using this following method, but it didn't seem to be working. Appreciate some guidance in this ...
2
votes
1answer
56 views

How to generate a non-linear animation?

Here is a simple example, as time goes by, the speed of animation playback is increasing The built-in function Animate seems to only play animation at a uniform ...
13
votes
1answer
268 views

Export infinite looping GIFs by default

frames=Table[Plot[Sin[x(1+a x)],{x,0,6}],{a,0,2,0.2}]; Export["test.gif",frames] The above code runs in version 9.0 to get a infinite looping GIF ...
2
votes
0answers
41 views

Natural decay in the rate of Animation

I am trying to introduce a decay into the rate of animation of a graphics object by setting the AnimationRate in the Animator to a dynamic variable which is itself continually updated through a self-...
3
votes
1answer
96 views

Best way to make live animations

I often find myself in a situation where I want to see something animated 'live'. With this I mean I have some data, a function to update that data let's call it ...
12
votes
3answers
354 views

Simplifying code that displays a square rolling inside a circle

The vertex A,B of the square ABCD with side length $\sqrt{2}$ is on the circle with radius $\sqrt{2}$, vertex C,D is inside the circle, roll the square ABCD along the inside of the circle ...
0
votes
1answer
126 views

Plotting the velocity and acceleration vector of a particle

I want to create an animation containing a particle moving along a circle with tangential speed 2t and its normal and tangential acceleration vectors which I calculated to be a(T)=2 and a(N)=4t^2. The ...
3
votes
1answer
90 views

Resizing Imported GIF Image

I have a gif image that I am trying to import into the Mathematica Notebook, and I found the accepted answer of this question very useful: Is it possible to insert an animated image into Mathematica ...
6
votes
1answer
416 views

How can I avoid animations getting “dancy”?

I've done this animated GIF image. The trouble with it is that it gets "dancy" as you can see. For the organization of the items, I'm using the following code: Which can be copied here: <...
7
votes
4answers
263 views

Unrolling a surface

The surface is determined by this parametric equation ParametricPlot3D[{Cos[θ],Sin[θ],z(2+ Cos[θ])},{θ,-Pi,Pi},{z,0,1}] How to unfold the surface in Mathematica? ...
16
votes
4answers
4k views

How to do System Dynamics simulations / diagrams in Mathematica?

System Dynamics is an approach to understanding the behaviour of complex systems over time. It deals with internal feedback loops and time delays that affect the behaviour of the entire system. What ...
3
votes
3answers
425 views

How to use the same PlotRange and the same PlotLabel size for a sequence of Graphics?

I wish to use ListAnimate to show a sequence of plots with different plot ranges and differently sized plot lables, all unknown in advance, in a way that keeps the ...
1
vote
1answer
51 views

Animation for a chain reaction/ cascade type build up in mathematica [closed]

I am looking forward to suggestions to develop an animation such as a nuclear chain reaction/ particle cascade buildup (particularly as in the attached image: gluon cascade) using mathematica ...
0
votes
0answers
51 views

Making animation more efficient

I created some code to create a nice animation. However, it takes a considerable amount of time to run it. I would like to make it run in the least amount of time possible. First, I load two packages ...
12
votes
3answers
825 views

How can I highlight a moving bar in an animation of a bar chart?

I wrote the following code, but I don't know how to highlight the moving bar. ...
4
votes
1answer
60 views

AnimationRunning option of Animate misbehaving

This simple example gives a strange error. ...
1
vote
1answer
55 views

Editing the graph to become with animation

In the following code: p1=ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3 + Cos[v]) Cos[u], Sin[v]}, {u, 0, 2 Pi}, {v, 0, 2 Pi}] p2=ParametricPlot3D[{Cos[Sqrt[2] t](3 + Cos[t]), Sin[Sqrt[2] t] (...
1
vote
1answer
154 views

How to animate/visualize rotations of shapes?

Can I use Mathematica to create visualized rotation of a shape? Specifically, I'm trying to draw a rectangle $R$ with vertices where $r>0$ and $\theta\in(0,\pi/4$): $$ \\ R= \begin{pmatrix} re^{i\...
2
votes
2answers
934 views

Point on the circle

How can I make a moving point on the circle with control? ...
2
votes
1answer
165 views

Rotation by Euler Angles using SphericalPlot3D

I am new to Mathematica and I am trying to create a small animation using SphericalPlot3D. Essentially I have a 3D figure defined in ...
2
votes
1answer
109 views

Need help with a torus animation [closed]

Make a movie that shows creation of the torus in yet another manner. Namely, imagine a thin inflatable wire that runs inside the torus along the circle $\qquad (x^2) + y^2 = (a^2), \quad z=0$ I was ...
4
votes
1answer
63 views

How can I let the length of a vector in VectorPlot be represented by it´s norm?

I would like to draw a vector field and let the magnitude of the vectors change over time (t) using the Manipulate function. The direction of the vectors will be static. ...
1
vote
3answers
325 views

How can I use procedure, circle3D, to make an animation of the osculating circle of a parametric curve?

I try to use circle3D procedure, shown below, to make an animation of the osculating circle of a parametric curve. ...

1
2 3 4 5
13